diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-04-17 11:39:24 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-04-17 11:39:24 +0000 |
commit | c47b42a036abf532822fdf80ce52298ad8b2d9ce (patch) | |
tree | 25233bd6efe03645b35829cd05f1ca81f5a98906 /usr.sbin/smtpd/queue_backend.c | |
parent | 1541cc4dd793cb295324ed5c8a8d25cd859ca1cc (diff) |
a structure describing an envelope should be called struct envelope, not
struct message ...
Diffstat (limited to 'usr.sbin/smtpd/queue_backend.c')
-rw-r--r-- | usr.sbin/smtpd/queue_backend.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/smtpd/queue_backend.c b/usr.sbin/smtpd/queue_backend.c index 555a9d08d08..4d14f47881b 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.8 2011/04/15 17:01:05 gilles Exp $ */ +/* $OpenBSD: queue_backend.c,v 1.9 2011/04/17 11:39:22 gilles Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -40,7 +40,7 @@ int fsqueue_init(struct smtpd *); int fsqueue_message(struct smtpd *, enum queue_kind, enum queue_op, u_int32_t *); int fsqueue_envelope(struct smtpd *, enum queue_kind, - enum queue_op , struct message *); + enum queue_op , struct envelope *); struct queue_backend queue_backends[] = { @@ -103,29 +103,29 @@ queue_message_fd_rw(struct smtpd *env, enum queue_kind qkind, u_int32_t msgid) int queue_envelope_create(struct smtpd *env, enum queue_kind qkind, - struct message *envelope) + struct envelope *m) { - return env->sc_queue->envelope(env, qkind, QOP_CREATE, envelope); + return env->sc_queue->envelope(env, qkind, QOP_CREATE, m); } int queue_envelope_delete(struct smtpd *env, enum queue_kind qkind, - struct message *envelope) + struct envelope *m) { - return env->sc_queue->envelope(env, qkind, QOP_DELETE, envelope); + return env->sc_queue->envelope(env, qkind, QOP_DELETE, m); } int queue_envelope_load(struct smtpd *env, enum queue_kind qkind, - u_int64_t evpid, struct message *envelope) + u_int64_t evpid, struct envelope *m) { - envelope->evpid = evpid; - return env->sc_queue->envelope(env, qkind, QOP_LOAD, envelope); + m->evpid = evpid; + return env->sc_queue->envelope(env, qkind, QOP_LOAD, m); } int queue_envelope_update(struct smtpd *env, enum queue_kind qkind, - struct message *envelope) + struct envelope *m) { - return env->sc_queue->envelope(env, qkind, QOP_UPDATE, envelope); + return env->sc_queue->envelope(env, qkind, QOP_UPDATE, m); } |