diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2011-12-23 12:10:07 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2011-12-23 12:10:07 +0000 |
commit | 265206f007779937df3d46767df3003780e08216 (patch) | |
tree | e652cd34d02a7fedd25b4fb013a581b694c8bd80 /usr.sbin/smtpd/queue_fsqueue.c | |
parent | e05c999bfc0608f87dbfa0395e5c62caa806f7d8 (diff) |
On envelope creation, get the message id in a saner way than the
current confusing hack.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/queue_fsqueue.c')
-rw-r--r-- | usr.sbin/smtpd/queue_fsqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_fsqueue.c b/usr.sbin/smtpd/queue_fsqueue.c index dcb63a206b1..8c1d7cf4e16 100644 --- a/usr.sbin/smtpd/queue_fsqueue.c +++ b/usr.sbin/smtpd/queue_fsqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_fsqueue.c,v 1.23 2011/12/22 18:41:30 eric Exp $ */ +/* $OpenBSD: queue_fsqueue.c,v 1.24 2011/12/23 12:10:06 eric Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -145,7 +145,7 @@ fsqueue_envelope_create(enum queue_kind qkind, struct envelope *ep) fp = NULL; again: - evpid = queue_generate_evpid(ep->id); + evpid = queue_generate_evpid(evpid_to_msgid(ep->id)); fsqueue_envelope_path(qkind, evpid, evpname, sizeof(evpname)); |