summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-11-20 09:57:50 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-11-20 09:57:50 +0000
commit15c02a62fbd35812e47e2647a5a95ae7c6a10043 (patch)
tree7b0a2d03f3757010e74c5a74366c9698e1fc60a7 /usr.sbin/relayd
parent3538441825d184f3a306ce9711350232bf14e864 (diff)
minor change to some relay log messages
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relay.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 3b4077bbcf7..4f5a664433f 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.55 2007/11/19 15:31:36 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.56 2007/11/20 09:57:49 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -864,7 +864,7 @@ relay_resolve(struct ctl_relay_event *cre,
relay_bufferevent_print(cre->dst, ": ") == -1 ||
relay_bufferevent_print(cre->dst, ptr) == -1 ||
relay_bufferevent_print(cre->dst, "\r\n") == -1) {
- relay_close(con, "failed to modify header (done)");
+ relay_close(con, "failed to modify header");
return (-1);
}
DPRINTF("relay_resolve: add '%s: %s'",
@@ -875,14 +875,14 @@ relay_resolve(struct ctl_relay_event *cre,
break;
DPRINTF("relay_resolve: missing '%s: %s'",
pn->key, pn->value);
- relay_close(con, "incomplete header (done)");
+ relay_close(con, "incomplete header");
return (-1);
case NODE_ACTION_FILTER:
if (pn->flags & PNFLAG_MARK)
break;
DPRINTF("relay_resolve: filtered '%s: %s'",
pn->key, pn->value);
- relay_close(con, "rejecting header (done)");
+ relay_close(con, "rejecting header");
return (-1);
default:
break;
@@ -982,7 +982,7 @@ relay_handle_http(struct ctl_relay_event *cre, struct protonode *proot,
* trying to circumvent the filter.
*/
if (cre->nodes[proot->id]) {
- relay_close(con, "repeated header line (done)");
+ relay_close(con, "repeated header line");
return (PN_FAIL);
}
ret = PN_PASS;
@@ -1060,7 +1060,7 @@ relay_read_httpcontent(struct bufferevent *bev, void *arg)
bufferevent_enable(bev, EV_READ);
return;
done:
- relay_close(con, "last http content read (done)");
+ relay_close(con, "last http content read");
return;
fail:
relay_close(con, strerror(errno));