diff options
author | xiejianjun <xiejianjun@bytedance.com> | 2020-05-09 11:45:30 +0800 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-07-06 11:37:35 +0100 |
commit | db4bd162a3472205fb847a52948c1133e65bd9ce (patch) | |
tree | 3ed895ae0cba11d9da645fa7a7a3a1f56925bfe4 /src | |
parent | d98aabf47f43289f9e66230b3c70a9d682c7865c (diff) |
fix check_acl compilation with --enable-debug
regression introduced in f6d4da5d81694721bf50b2275621e7ce84e6da30.
this has been overlooked due to the assert macro being optimized out in
non-debug builds.
Diffstat (limited to 'src')
-rw-r--r-- | src/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |