Use NULL for pointers

This commit is contained in:
Mukund Sivaraman committed 2009-11-17 02:40:03 +05:30
1 parent a664dee4f6
commit ec4b4d979f
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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;