diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-16 10:14:50 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-16 10:14:50 +0200 |
commit | ff36bec49b2a1e398a5d7731a7049662f5c1b4ec (patch) | |
tree | 8388ae08fef8aec62c858db5c4cb9e78ede1f43d | |
parent | bae8f7eaf2997938615ed4282d6d93d3aa1f3fc1 (diff) | |
download | busybox-w32-ff36bec49b2a1e398a5d7731a7049662f5c1b4ec.tar.gz busybox-w32-ff36bec49b2a1e398a5d7731a7049662f5c1b4ec.tar.bz2 busybox-w32-ff36bec49b2a1e398a5d7731a7049662f5c1b4ec.zip |
httpd: add missing {}
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/httpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
1836 | (unsigned char)(cur->mask) | 1836 | (unsigned char)(cur->mask) |
1837 | ); | 1837 | ); |
1838 | #endif | 1838 | #endif |
1839 | if ((rmt_ip & cur->mask) == cur->ip) | 1839 | if ((rmt_ip & cur->mask) == cur->ip) { |
1840 | if (cur->allow_deny == 'A') | 1840 | if (cur->allow_deny == 'A') |
1841 | return; | 1841 | return; |
1842 | send_headers_and_exit(HTTP_FORBIDDEN); | 1842 | send_headers_and_exit(HTTP_FORBIDDEN); |
1843 | } | ||
1843 | } | 1844 | } |
1844 | 1845 | ||
1845 | if (flg_deny_all) /* depends on whether we saw "D:*" */ | 1846 | if (flg_deny_all) /* depends on whether we saw "D:*" */ |