diff options
Diffstat (limited to 'usr.sbin/smtpd/queue_shared.c')
-rw-r--r-- | usr.sbin/smtpd/queue_shared.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/smtpd/queue_shared.c b/usr.sbin/smtpd/queue_shared.c index 654b06e0b6c..ff6dbc4879f 100644 --- a/usr.sbin/smtpd/queue_shared.c +++ b/usr.sbin/smtpd/queue_shared.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_shared.c,v 1.42 2011/04/14 23:26:16 gilles Exp $ */ +/* $OpenBSD: queue_shared.c,v 1.43 2011/04/14 23:29:56 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -112,17 +112,6 @@ queue_message_update(struct smtpd *env, struct message *messagep) queue_envelope_delete(env, Q_QUEUE, messagep); } -u_int16_t -queue_hash(char *msgid) -{ - u_int16_t h; - - for (h = 5381; *msgid; msgid++) - h = ((h << 5) + h) + *msgid; - - return (h % DIRHASH_BUCKETS); -} - struct qwalk * qwalk_new(char *path) { |