summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2009-08-08 00:23:34 +0000
committergilles <gilles@openbsd.org>2009-08-08 00:23:34 +0000
commit0af69e79a7a256e80282542b4f32ec56f88976ed (patch)
treeee6567ded2e9bd4d64bef237e45efaab36b66f1b
parentmissing cast (diff)
downloadwireguard-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.c4
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");