diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2015-09-10 13:56:13 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2015-09-10 13:56:13 +0000 |
commit | fdd6f1c8a3aa603af8934f00f021221f508a753e (patch) | |
tree | 34e7d5e66c03d601691b179162dbc55e7239cd50 /libexec/spamd | |
parent | c6cd31c2889c3324b882e7c04f19f41a23c2b62b (diff) |
read, tls_read, and tls_write return ssize_t
jointly with jsing@
Diffstat (limited to 'libexec/spamd')
-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 && |