summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-25 18:16:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-25 18:16:17 +0000
commit3486ed2c7b04753bdea156a76ee37f0ee29ce752 (patch)
tree349cb784b2908d7db0a40301c03381bdc1ca919d /usr.sbin
parent73ddf2208f04056535a1cc0271ad9fb8561fa23e (diff)
one example (of two) of tree breaking the "other gcc"
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststated/relay.c4
-rw-r--r--usr.sbin/relayd/relay.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/hoststated/relay.c b/usr.sbin/hoststated/relay.c
index 00d82e90b2f..fc7a8b10a47 100644
--- a/usr.sbin/hoststated/relay.c
+++ b/usr.sbin/hoststated/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.4 2007/02/24 15:48:54 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.5 2007/02/25 18:16:16 deraadt Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -903,7 +903,7 @@ relay_read_http(struct bufferevent *bev, void *arg)
}
if (*pk.value == ':') {
*pk.value++ = '\0';
- *pk.value++;
+ pk.value++;
header = 1;
} else {
*pk.value++ = '\0';
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 00d82e90b2f..fc7a8b10a47 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.4 2007/02/24 15:48:54 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.5 2007/02/25 18:16:16 deraadt Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -903,7 +903,7 @@ relay_read_http(struct bufferevent *bev, void *arg)
}
if (*pk.value == ':') {
*pk.value++ = '\0';
- *pk.value++;
+ pk.value++;
header = 1;
} else {
*pk.value++ = '\0';