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:
xiejianjun authored and rofl0r committed 2020-07-06 11:37:35 +01:00
1 parent d98aabf47f
commit db4bd162a3
1 file changed
+1 -1
+1 -1
View File
@@ -344,7 +344,7 @@ int check_acl (const char *ip, union sockaddr_union *addr, vector_t access_list)
char string_addr[HOSTNAME_LENGTH];
assert (ip != NULL);
assert (host != NULL);
assert (addr != NULL);
string_addr[0] = 0;