From: Denys Vlasenko Date: Tue, 16 Apr 2019 08:14:50 +0000 (+0200) Subject: httpd: add missing {} X-Git-Tag: 1_31_0~105 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff36bec49b2a1e398a5d7731a7049662f5c1b4ec;p=oweals%2Fbusybox.git httpd: add missing {} Signed-off-by: Denys Vlasenko --- diff --git a/networking/httpd.c b/networking/httpd.c index bc0e386ea..50e832c1f 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -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:*" */