summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2014-07-11 23:11:55 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2014-07-11 23:11:55 +0000
commit96cab185ced530d0ee25b16b69848f552235eef9 (patch)
tree5f45b5c87196bfa989219aaef00ce8a824cc6cfc
parent95e961976a467f2d2e570f8ad265579204d61f61 (diff)
optimize a FALLTHROUGH
implicit ok reyk
-rw-r--r--usr.sbin/relayd/relay_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index 7872b40e0f1..edfdd3eff85 100644
--- a/usr.sbin/relayd/relay_http.c
+++ b/usr.sbin/relayd/relay_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay_http.c,v 1.24 2014/07/11 22:28:44 reyk Exp $ */
+/* $OpenBSD: relay_http.c,v 1.25 2014/07/11 23:11:54 benno Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -375,7 +375,7 @@ relay_read_http(struct bufferevent *bev, void *arg)
case HTTP_METHOD_HEAD:
case HTTP_METHOD_OPTIONS:
cre->toread = 0;
- /* FALLTHROUGH */
+ break;
case HTTP_METHOD_POST:
case HTTP_METHOD_PUT:
case HTTP_METHOD_RESPONSE: