From c02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 12 Jun 2014 18:42:29 +0300 Subject: [PATCH] WPS: Clean up indentation level (CID 68109) The implementation here was doing what it was supposed to, but the code was indented in a way that made it quite confusing in the context of a single line if statement body. Signed-off-by: Jouni Malinen --- src/wps/httpread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wps/httpread.c b/src/wps/httpread.c index 6d2d11c49..2f08f3727 100644 --- a/src/wps/httpread.c +++ b/src/wps/httpread.c @@ -413,8 +413,8 @@ static void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx) */ if (httpread_debug >= 10) wpa_printf(MSG_DEBUG, "httpread ok eof(%p)", h); - h->got_body = 1; - goto got_file; + h->got_body = 1; + goto got_file; } rbp = readbuf;