diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-18 14:55:05 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-18 14:55:05 +0200 |
commit | 25f74781424d5e13f0211c08cce8c2a1d60b9aec (patch) | |
tree | 92a1a19c59f8816dca604592d408184f48c3c4a3 /src/qmail-start.c | |
parent | f1b71c9fe7dbb4886588a036399cf5ebe16b7c47 (diff) |
update to 4.3.08
Diffstat (limited to 'src/qmail-start.c')
-rw-r--r-- | src/qmail-start.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/qmail-start.c b/src/qmail-start.c index 7a7342c..4ff0f23 100644 --- a/src/qmail-start.c +++ b/src/qmail-start.c @@ -7,7 +7,7 @@ char *(qsargs[]) = { "qmail-send", 0 }; char *(qcargs[]) = { "qmail-clean", 0 }; -char *(qlargs[]) = { "qmail-lspawn", "./Mailbox", 0 }; +char *(qlargs[]) = { "qmail-lspawn", "./Maildir/", 0 }; char *(qrargs[]) = { "qmail-rspawn", 0 }; char *(qtargs[]) = { "qmail-todo", 0}; @@ -55,7 +55,7 @@ int main(int argc,char **argv) if (fd_copy(8,0) == -1) die(); if (argv[1]) { - qlargs[1] = argv[1]; + qlargs[1] = argv[1]; // Mailbox or Maildir ++argv; } @@ -70,7 +70,7 @@ int main(int argc,char **argv) close(pi0[1]); if (fd_move(0,pi0[0]) == -1) die(); closefds(); - execvp(argv[1],argv + 1); + execvp(argv[1],argv + 1); // logger die(); } close(pi0[0]); @@ -95,7 +95,7 @@ int main(int argc,char **argv) if (fd_copy(1,pi2[1]) == -1) die(); closefds(); closepipes(); - execvp(*qlargs,qlargs); + execvp(*qlargs,qlargs); // qmail-lspawn die(); } @@ -107,7 +107,7 @@ int main(int argc,char **argv) if (fd_copy(1,pi4[1]) == -1) die(); closefds(); closepipes(); - execvp(*qrargs,qrargs); + execvp(*qrargs,qrargs); // qmail-respawn die(); } @@ -119,7 +119,7 @@ int main(int argc,char **argv) if (fd_copy(1,pi6[1]) == -1) die(); closefds(); closepipes(); - execvp(*qcargs,qcargs); + execvp(*qcargs,qcargs); // qmail-clean die(); } @@ -133,7 +133,7 @@ int main(int argc,char **argv) if (fd_copy(2,pi9[1]) == -1) die(); if (fd_copy(3,pi10[0]) == -1) die(); closepipes(); - execvp(*qtargs,qtargs); + execvp(*qtargs,qtargs); // qmail-todo die(); } @@ -145,7 +145,7 @@ int main(int argc,char **argv) if (fd_copy(1,pi10[1]) == -1) die(); closefds(); closepipes(); - execvp(*qcargs,qcargs); + execvp(*qcargs,qcargs); // qmail-clean die(); } @@ -160,6 +160,6 @@ int main(int argc,char **argv) if (fd_copy(7,pi7[1]) == -1) die(); if (fd_copy(8,pi8[0]) == -1) die(); closepipes(); - execvp(*qsargs,qsargs); + execvp(*qsargs,qsargs); // qmail-send die(); } |