summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2018-01-25 18:19:49 +0100
committerMatt Johnston <matt@ucc.asn.au>2018-02-16 23:32:11 +0800
commit5bf12148592834b516af1314062a841862ad4b80 (patch)
tree6cf3c8ea2694b8941f3bb13cc8e6f30857b19d1b
parent2ef1ab07536fc0eea0fd7f4782ed259bf2539ea0 (diff)
use NULL instead of 0
-rw-r--r--netio.c2
1 files changed, 1 insertions, 1 deletions
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;