From 9c7be324f5a4306dd81eab2f982f87e2c42ffdf1 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 28 Apr 2017 15:43:14 +0200 Subject: break belongs inside the guard --- ot_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ot_http.c b/ot_http.c index 0e3cc29..e05db72 100644 --- a/ot_http.c +++ b/ot_http.c @@ -497,8 +497,8 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws, return ws->reply_size = sprintf( ws->reply, "Successfully added.\n" ); //} } -#endif break; +#endif case 9: /* matched "peer_id" */ /* ignore this, when we have less than 20 bytes */ if( scan_urlencoded_query( &read_ptr, write_ptr = read_ptr, SCAN_SEARCHPATH_VALUE ) != 20 ) HTTPERROR_400_PARAM; -- cgit v1.2.3