summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/envelope.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/envelope.c')
-rw-r--r--usr.sbin/smtpd/envelope.c8
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);
}
}