aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-06-12 15:42:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-12 16:45:31 (GMT)
commitc02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e (patch)
tree3a7e36bf681599fcac9f3a36bb8e547cec5c1c93
parent0e87e798b5840fe8b684e4782af50c8e02acac8b (diff)
downloadhostap-c02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e.zip
hostap-c02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e.tar.gz
hostap-c02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e.tar.bz2
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 <j@w1.fi>
-rw-r--r--src/wps/httpread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wps/httpread.c b/src/wps/httpread.c
index 6d2d11c..2f08f37 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;