diff options
Diffstat (limited to 'mail/dma/files/patch-dma.c')
-rw-r--r-- | mail/dma/files/patch-dma.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/dma/files/patch-dma.c b/mail/dma/files/patch-dma.c index 7094c8e459ca..4c2362e72792 100644 --- a/mail/dma/files/patch-dma.c +++ b/mail/dma/files/patch-dma.c @@ -1,6 +1,6 @@ ---- dma.c.orig 2012-01-28 22:36:55.000000000 +0000 -+++ dma.c 2012-01-28 22:46:06.000000000 +0000 -@@ -332,7 +332,7 @@ retry: +--- dma.c.orig 2013-08-22 10:56:28.000000000 +0000 ++++ dma.c 2013-08-22 11:03:59.000000000 +0000 +@@ -343,7 +343,7 @@ retry: exit(1); } if (gettimeofday(&now, NULL) == 0 && @@ -9,16 +9,16 @@ snprintf(errmsg, sizeof(errmsg), "Could not deliver for the last %d seconds. Giving up.", MAX_TIMEOUT); -@@ -534,7 +535,7 @@ main(int argc, char **argv) +@@ -560,7 +560,7 @@ main(int argc, char **argv) skipopts: if (logident_base == NULL) logident_base = "dma"; - setlogident(NULL); -+ setlogident(logident_base); ++ setlogident("%s", logident_base); act.sa_handler = sighup_handler; act.sa_flags = 0; -@@ -571,7 +572,7 @@ skipopts: +@@ -598,7 +598,7 @@ skipopts: errlog(1, "can not read aliases file `%s'", config.aliases); if ((sender = set_from(&queue, sender)) == NULL) @@ -26,4 +26,4 @@ + errlog(1, "set_from failed"); if (newspoolf(&queue) != 0) - errlog(1, "can not create temp file"); + errlog(1, "can not create temp file in `%s'", config.spooldir); |