projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae8f7e
)
httpd: add missing {}
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Apr 2019 08:14:50 +0000
(10:14 +0200)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index bc0e386ea0ccbfe3c5553000afc59dc90ddbc889..50e832c1fd4d3f2335f7d2c682540a2e49e55bbf 100644
(file)
--- 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:*" */