# HG changeset patch # User Francois Perrad # Date 1516900789 -3600 # Node ID 78d8c3ffdfe1b90daa08df45a55804fad8692521 # Parent 73aa542e76fe38fe59be52a124c1c1faa988dfa2 use NULL instead of 0 diff -r 73aa542e76fe -r 78d8c3ffdfe1 netio.c --- a/netio.c Thu Jan 25 18:19:29 2018 +0100 +++ b/netio.c Thu Jan 25 18:19:49 2018 +0100 @@ -488,7 +488,7 @@ * caller can do a get_socket_address to discover assigned-port * hence, use same port for all address families */ - u_int16_t *allocated_lport_p = 0; + u_int16_t *allocated_lport_p = NULL; int allocated_lport = 0; nsock = 0;