From 5f76e4c1ede157ca5a51c2189984e8ee57778d86 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 2 Jun 2017 18:14:31 +0200 Subject: when pointer, use NULL instead of 0 --- svr-runopts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svr-runopts.c') diff --git a/svr-runopts.c b/svr-runopts.c index e6dc8a8..dea4a55 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -114,7 +114,7 @@ static void printhelp(const char * progname) { void svr_getopts(int argc, char ** argv) { unsigned int i, j; - char ** next = 0; + char ** next = NULL; int nextisport = 0; char* recv_window_arg = NULL; char* keepalive_arg = NULL; @@ -289,7 +289,7 @@ void svr_getopts(int argc, char ** argv) { if (*next == NULL) { dropbear_exit("Invalid null argument"); } - next = 0x00; + next = NULL; if (keyfile) { addhostkey(keyfile); -- cgit v1.2.3