summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index 62ab6f97665..5f68ad86f86 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.161 2014/04/08 15:25:43 eric Exp $ */
+/* $OpenBSD: queue.c,v 1.162 2014/04/19 13:40:24 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -688,10 +688,10 @@ queue_log(const struct envelope *e, const char *prefix, const char *status)
{
char rcpt[SMTPD_MAXLINESIZE];
- strlcpy(rcpt, "-", sizeof rcpt);
+ (void)strlcpy(rcpt, "-", sizeof rcpt);
if (strcmp(e->rcpt.user, e->dest.user) ||
strcmp(e->rcpt.domain, e->dest.domain))
- snprintf(rcpt, sizeof rcpt, "%s@%s",
+ (void)snprintf(rcpt, sizeof rcpt, "%s@%s",
e->rcpt.user, e->rcpt.domain);
log_info("%s: %s for %016" PRIx64 ": from=<%s@%s>, to=<%s@%s>, "