fix check_acl compilation with --enable-debug
regression introduced in f6d4da5d81
.
this has been overlooked due to the assert macro being optimized out in
non-debug builds.
This commit is contained in:
parent
d98aabf47f
commit
db4bd162a3
@ -344,7 +344,7 @@ int check_acl (const char *ip, union sockaddr_union *addr, vector_t access_list)
|
|||||||
char string_addr[HOSTNAME_LENGTH];
|
char string_addr[HOSTNAME_LENGTH];
|
||||||
|
|
||||||
assert (ip != NULL);
|
assert (ip != NULL);
|
||||||
assert (host != NULL);
|
assert (addr != NULL);
|
||||||
|
|
||||||
string_addr[0] = 0;
|
string_addr[0] = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user