From 3486ed2c7b04753bdea156a76ee37f0ee29ce752 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 25 Feb 2007 18:16:17 +0000 Subject: one example (of two) of tree breaking the "other gcc" --- usr.sbin/hoststated/relay.c | 4 ++-- usr.sbin/relayd/relay.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin') 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 @@ -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 @@ -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'; -- cgit v1.2.3