diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-10-11 21:49:12 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-10-11 21:49:12 +0000 |
commit | 38c9326786372713d20ccb36f43ab7a0d24d712f (patch) | |
tree | ad10f4b0caa49b18d54bba35083a18c3759b673c /usr.sbin/smtpd | |
parent | 8d40436497b2ebbcb39d5e7c2792a18ae7a04104 (diff) |
- remove dead store
spotted by clang
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/envelope.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c index 62bf43b2c6d..ab390513507 100644 --- a/usr.sbin/smtpd/envelope.c +++ b/usr.sbin/smtpd/envelope.c @@ -1,4 +1,4 @@ -/* $OpenBSD: envelope.c,v 1.15 2012/10/11 21:47:48 gilles Exp $ */ +/* $OpenBSD: envelope.c,v 1.16 2012/10/11 21:49:11 gilles Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -690,17 +690,17 @@ ascii_dump_mta_relay_flags(uint8_t flags, char *buf, size_t len) cpylen = strlcat(buf, "smtps", len); if (flags & F_STARTTLS) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "tls", len); } if (flags & F_AUTH) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "auth", len); } if (flags & F_BACKUP) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "backup", len); } } |