diff netio.c @ 1503:78d8c3ffdfe1

use NULL instead of 0
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 25 Jan 2018 18:19:49 +0100
parents 2d450c1056e3
children 5916af64acd4
line wrap: on
line diff
--- 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;