fix check_acl

This commit is contained in:
xiejianjun 2020-05-09 11:45:30 +08:00
parent d98aabf47f
commit 8d899c9029

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;