diff options
author | 2009-08-08 00:23:34 +0000 | |
---|---|---|
committer | 2009-08-08 00:23:34 +0000 | |
commit | 0af69e79a7a256e80282542b4f32ec56f88976ed (patch) | |
tree | ee6567ded2e9bd4d64bef237e45efaab36b66f1b | |
parent | missing cast (diff) | |
download | wireguard-openbsd-0af69e79a7a256e80282542b4f32ec56f88976ed.tar.xz wireguard-openbsd-0af69e79a7a256e80282542b4f32ec56f88976ed.zip |
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 '.'
-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"); |