From 5bf12148592834b516af1314062a841862ad4b80 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 25 Jan 2018 18:19:49 +0100 Subject: [PATCH] use NULL instead of 0 --- netio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netio.c b/netio.c index c73a1fe..c6662f0 100644 --- a/netio.c +++ b/netio.c @@ -488,7 +488,7 @@ int dropbear_listen(const char* address, const char* port, * 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;