summaryrefslogtreecommitdiff
path: root/src/spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn.c')
-rw-r--r--src/spawn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/spawn.c b/src/spawn.c
index f7f6f93..f987ac6 100644
--- a/src/spawn.c
+++ b/src/spawn.c
@@ -13,12 +13,13 @@
#include "fd.h"
#include "open.h"
#include "error.h"
-#include "auto_qmail.h"
+#include "auto_queue.h"
#include "auto_uids.h"
#include "auto_spawn.h"
#include "qmail.h"
#define BUF_COMMANDS 1024
+#define BUFSIZE_MINI 128
extern int truncreport;
extern int spawn();
@@ -201,7 +202,7 @@ int main(int argc,char **argv)
fd_set rfds;
int nfds;
- if (chdir(auto_qmail) == -1) _exit(110);
+ if (chdir(auto_queue) == -1) _exit(110);
if (chdir("queue/mess") == -1) _exit(110);
if (!stralloc_copys(&messid,"")) _exit(111);
if (!stralloc_copys(&sender,"")) _exit(111);