nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b832c07698ea195277d30558d0e8e070cca625cd
parent a0b5dd0044200f84234b7e7243be9bfb72c3f4c7
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Wed, 17 Jun 2020 18:15:50 +0200

move auto_uidq variable into spawn.c

No need to provide a global variable in 2 object files when the file that uses
it and contains main() could easily do it.

Diffstat:
Mqmail-lspawn.c | 1-
Mqmail-rspawn.c | 2--
Mspawn.c | 2++
3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/qmail-lspawn.c b/qmail-lspawn.c @@ -22,7 +22,6 @@ char *aliasempty; uid_t auto_uidp; -uid_t auto_uidq; gid_t auto_gidn; diff --git a/qmail-rspawn.c b/qmail-rspawn.c @@ -11,8 +11,6 @@ #include "auto_users.h" #include "env.h" -uid_t auto_uidq; - void initialize(argc,argv) int argc; char **argv; diff --git a/spawn.c b/spawn.c @@ -17,6 +17,8 @@ #include "auto_uids.h" #include "auto_spawn.h" +uid_t auto_uidq; + struct delivery { int used;