diff options
author | 2015-09-10 13:56:12 +0000 | |
---|---|---|
committer | 2015-09-10 13:56:12 +0000 | |
commit | 3fa2d9932d841d56c973459373e61076f01d1805 (patch) | |
tree | 29164d7f7405e03967e9f06ff6ea4754d120559a | |
parent | fix return type for tls_read/write (diff) | |
download | wireguard-openbsd-3fa2d9932d841d56c973459373e61076f01d1805.tar.xz wireguard-openbsd-3fa2d9932d841d56c973459373e61076f01d1805.zip |
read, tls_read, and tls_write return ssize_t
jointly with jsing@
-rw-r--r-- | libexec/spamd/spamd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c index fccd640e307..0d2e6abf281 100644 --- a/libexec/spamd/spamd.c +++ b/libexec/spamd/spamd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spamd.c,v 1.129 2015/09/10 10:32:16 beck Exp $ */ +/* $OpenBSD: spamd.c,v 1.130 2015/09/10 13:56:12 beck Exp $ */ /* * Copyright (c) 2015 Henning Brauer <henning@openbsd.org> @@ -1064,7 +1064,7 @@ void handler(struct con *cp) { int end = 0; - int n; + ssize_t n; if (cp->r) { if (cp->cctx) { @@ -1104,7 +1104,7 @@ handler(struct con *cp) void handlew(struct con *cp, int one) { - int n; + ssize_t n; /* kill stutter on greylisted connections after initial delay */ if (cp->stutter && greylist && cp->blacklists == NULL && |