diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-08-08 00:23:35 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-08-08 00:23:35 +0000 |
commit | c95560041798ac57cdf794f8e2188f70cd3fa538 (patch) | |
tree | 27b6f4795b9b18c1bf0a8498be53d6e6e123b610 /usr.sbin/smtpd/enqueue.c | |
parent | 6ca88e53b7f8d1b9fb649e0826318c7de44ee9a8 (diff) |
fix a small typo with no consequence in the generation of message id when
an enqueued message follows the offline codepath. the code used ',' to
separate components of the message uid when it should have used '.'
Diffstat (limited to 'usr.sbin/smtpd/enqueue.c')
-rw-r--r-- | usr.sbin/smtpd/enqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c index 31f1b181804..c7ae80f6ae4 100644 --- a/usr.sbin/smtpd/enqueue.c +++ b/usr.sbin/smtpd/enqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enqueue.c,v 1.18 2009/06/07 05:56:25 eric Exp $ */ +/* $OpenBSD: enqueue.c,v 1.19 2009/08/08 00:23:34 gilles Exp $ */ /* * Copyright (c) 2005 Henning Brauer <henning@bulabula.org> @@ -726,7 +726,7 @@ enqueue_offline(int argc, char *argv[]) FILE *fp; int i, fd, ch; - if (! bsnprintf(path, sizeof(path), "%s%s/%d,XXXXXXXXXX", PATH_SPOOL, + if (! bsnprintf(path, sizeof(path), "%s%s/%d.XXXXXXXXXX", PATH_SPOOL, PATH_OFFLINE, time(NULL))) err(1, "snprintf"); |