mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-12 14:05:40 +00:00
httpd: add missing {}
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
bae8f7eaf2
commit
ff36bec49b
@ -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:*" */
|
||||
|
Loading…
Reference in New Issue
Block a user