changeset 1503:78d8c3ffdfe1

use NULL instead of 0
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 25 Jan 2018 18:19:49 +0100
parents 73aa542e76fe
children bd0bc6b5a87c
files netio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;