return (0);
}
-@@ -1252,7 +1554,7 @@
+@@ -1251,7 +1553,7 @@
struct queue queue;
struct queue lqueue;
int i, ch;
atexit(deltmp);
LIST_INIT(&queue.queue);
-@@ -1267,7 +1569,7 @@
+@@ -1266,7 +1568,7 @@
}
opterr = 0;
switch (ch) {
case 'A':
/* -AX is being ignored, except for -A{c,m} */
-@@ -1309,6 +1611,10 @@
+@@ -1308,6 +1610,10 @@
doqueue = 1;
break;
/* Ignored options */
case 'B':
case 'C':
-@@ -1382,12 +1688,19 @@
+@@ -1381,12 +1687,19 @@
errx(1, "invalid recipient `%s'", argv[i]);
}
static int open_locked(const char *, int);
-@@ -1392,15 +1392,21 @@
+@@ -1391,15 +1391,21 @@
char *queueid;
char *queuefn;
off_t hdrlen;
while ((de = readdir(spooldir)) != NULL) {
sender = NULL;
queuef = NULL;
-@@ -1416,12 +1422,22 @@
+@@ -1415,12 +1421,22 @@
if (asprintf(&queuefn, "%s/%s", config->spooldir, de->d_name) < 0)
goto fail;
seenit = seen(de->d_name);
if (!ignorelock || seenit)
continue;
fd = open(queuefn, O_RDONLY);
-@@ -1506,12 +1522,15 @@
+@@ -1505,12 +1521,15 @@
static void
run_queue(struct queue *queue)
{
deliver(it);
/* NOTREACHED */
}
-@@ -1534,6 +1553,8 @@
+@@ -1533,6 +1552,8 @@
it->queueid,
it->locked ? "*" : "",
it->sender, it->addr);
}
}
-@@ -1664,16 +1685,21 @@
+@@ -1663,16 +1684,21 @@
if (argc != 0)
errx(1, "sending mail and displaying queue is"
" mutually exclusive");