Use NULL for pointers
This commit is contained in:
1 parent
a664dee4f6
commit
ec4b4d979f
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -1558,7 +1558,7 @@ void handle_connection (int fd)
|
||||
fd, peer_string, peer_ipaddr, sock_ipaddr);
|
||||
|
||||
connptr = initialize_conn (fd, peer_ipaddr, peer_string,
|
||||
config.bindsame ? sock_ipaddr : 0);
|
||||
config.bindsame ? sock_ipaddr : NULL);
|
||||
if (!connptr) {
|
||||
close (fd);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user