diff options
author | 2015-12-02 19:03:17 +0000 | |
---|---|---|
committer | 2015-12-02 19:03:17 +0000 | |
commit | 95f92c5bc4abfad9e9523962b214846c40b04ad3 (patch) | |
tree | ed2abaa5fe65f3b2414cdef3fd5b5f1bd3f8c3e9 /libexec/spamd | |
parent | KNF: I forgot to join two lines. (diff) | |
download | wireguard-openbsd-95f92c5bc4abfad9e9523962b214846c40b04ad3.tar.xz wireguard-openbsd-95f92c5bc4abfad9e9523962b214846c40b04ad3.zip |
fix error messages to say tls_write after tls_write and not tls_read...
with bluhm
Diffstat (limited to 'libexec/spamd')
-rw-r--r-- | libexec/spamd/spamd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c index 0d2e6abf281..6f641374547 100644 --- a/libexec/spamd/spamd.c +++ b/libexec/spamd/spamd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spamd.c,v 1.130 2015/09/10 13:56:12 beck Exp $ */ +/* $OpenBSD: spamd.c,v 1.131 2015/12/02 19:03:17 henning Exp $ */ /* * Copyright (c) 2015 Henning Brauer <henning@openbsd.org> @@ -1129,7 +1129,8 @@ handlew(struct con *cp, int one) goto handled; } else if (n < 0) { if (debug > 0) - warn("tls_read unexpected POLLIN/POLLOUT"); + warn("tls_write unexpected " + "POLLIN/POLLOUT"); closecon(cp); goto handled; } @@ -1152,7 +1153,7 @@ handlew(struct con *cp, int one) closecon(cp); } else if (n < 0) { if (debug > 0) - warn("tls_read unexpected POLLIN/POLLOUT"); + warn("tls_write unexpected POLLIN/POLLOUT"); closecon(cp); } else { cp->op += n; |