summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-04-14 21:14:21 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-04-14 21:14:21 +0000
commit65ec35dcddecabc9b5081a709b4af83fcebfe756 (patch)
treef879811eb175f387898c7a0a0e63c80093ed9ee8 /usr.sbin
parent316ebe43167eb80e7d6d592c3f84cea3a93e68a0 (diff)
fsqueue_message_delete() should use fsqueue_hash() not queue_hash() as i'm
going to kill it with lots of violence soon.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/queue_fsqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_fsqueue.c b/usr.sbin/smtpd/queue_fsqueue.c
index ef5668d049a..be4ce0b7176 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.2 2011/04/14 20:11:08 gilles Exp $ */
+/* $OpenBSD: queue_fsqueue.c,v 1.3 2011/04/14 21:14:20 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -211,7 +211,7 @@ fsqueue_message_delete(struct smtpd *env, enum queue_kind qkind, char *msgid)
char msgpath[MAXPATHLEN];
u_int16_t hval;
- hval = queue_hash(msgid);
+ hval = fsqueue_hash(msgid);
if (! bsnprintf(rootdir, sizeof(rootdir), "%s/%d/%s", PATH_QUEUE,
hval, msgid))
fatal("queue_delete_message: snprintf");