summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:47:49 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:47:49 +0000
commit8d40436497b2ebbcb39d5e7c2792a18ae7a04104 (patch)
treef2c10a99632ee3ff29ffc1941d5c0a7b744bd310 /usr.sbin/smtpd
parent7a2825266648e194c3823ec648ab51780113d09d (diff)
- remove dead store
spotted by clang
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/envelope.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c
index 3bdccfea86c..62bf43b2c6d 100644
--- a/usr.sbin/smtpd/envelope.c
+++ b/usr.sbin/smtpd/envelope.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envelope.c,v 1.14 2012/09/26 19:52:20 eric Exp $ */
+/* $OpenBSD: envelope.c,v 1.15 2012/10/11 21:47:48 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -719,12 +719,12 @@ ascii_dump_flags(enum delivery_flags flags, char *buf, size_t len)
cpylen = strlcat(buf, "authenticated", len);
if (flags & DF_BOUNCE) {
if (buf[0] != '\0')
- cpylen = strlcat(buf, " ", len);
+ strlcat(buf, " ", len);
cpylen = strlcat(buf, "bounce", len);
}
if (flags & DF_INTERNAL) {
if (buf[0] != '\0')
- cpylen = strlcat(buf, " ", len);
+ strlcat(buf, " ", len);
cpylen = strlcat(buf, "internal", len);
}
}