diff options
| author | 2012-01-13 21:58:35 +0000 | |
|---|---|---|
| committer | 2012-01-13 21:58:35 +0000 | |
| commit | 569b4302375d1dab0ad7510655a5516bcd10dba8 (patch) | |
| tree | ce694a9792ba5d50a0005a9957c294a24c58f220 /usr.sbin/smtpd/queue_backend.c | |
| parent | Simplify function wsfont_map_unichar. (diff) | |
| download | wireguard-openbsd-569b4302375d1dab0ad7510655a5516bcd10dba8.tar.xz wireguard-openbsd-569b4302375d1dab0ad7510655a5516bcd10dba8.zip | |
queue_message_purge() and queue_message_delete() are actually the same
thing. Remove queue_message_purge() in favor of queue_message_delete
and simplify fsqueue_message_delete() implementation to move the
message dir to purge/
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/queue_backend.c')
| -rw-r--r-- | usr.sbin/smtpd/queue_backend.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/queue_backend.c b/usr.sbin/smtpd/queue_backend.c index 06068ac1d44..31a4746fd4b 100644 --- a/usr.sbin/smtpd/queue_backend.c +++ b/usr.sbin/smtpd/queue_backend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_backend.c,v 1.18 2011/12/23 12:10:06 eric Exp $ */ +/* $OpenBSD: queue_backend.c,v 1.19 2012/01/13 21:58:35 eric Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -75,12 +75,6 @@ queue_message_commit(enum queue_kind qkind, u_int32_t msgid) } int -queue_message_purge(enum queue_kind qkind, u_int32_t msgid) -{ - return env->sc_queue->message(qkind, QOP_PURGE, &msgid); -} - -int queue_message_corrupt(enum queue_kind qkind, u_int32_t msgid) { return env->sc_queue->message(qkind, QOP_CORRUPT, &msgid); |
