httpd: add missing {}
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Apr 2019 08:14:50 +0000 (10:14 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Apr 2019 08:14:50 +0000 (10:14 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/httpd.c

index bc0e386ea0ccbfe3c5553000afc59dc90ddbc889..50e832c1fd4d3f2335f7d2c682540a2e49e55bbf 100644 (file)
@@ -1836,10 +1836,11 @@ static void if_ip_denied_send_HTTP_FORBIDDEN_and_exit(void)
                        (unsigned char)(cur->mask)
                );
 #endif
-               if ((rmt_ip & cur->mask) == cur->ip)
+               if ((rmt_ip & cur->mask) == cur->ip) {
                        if (cur->allow_deny == 'A')
                                return;
                        send_headers_and_exit(HTTP_FORBIDDEN);
+               }
        }
 
        if (flg_deny_all) /* depends on whether we saw "D:*" */