diff svr-runopts.c @ 1404:e8f67918fdc9

when pointer, use NULL instead of 0
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 02 Jun 2017 18:14:31 +0200
parents 750ec4ec4cbe
children 798854f62430 517c67cbcd31
line wrap: on
line diff
--- a/svr-runopts.c	Sat Nov 19 15:07:42 2016 +0100
+++ b/svr-runopts.c	Fri Jun 02 18:14:31 2017 +0200
@@ -114,7 +114,7 @@
 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 @@
 			if (*next == NULL) {
 				dropbear_exit("Invalid null argument");
 			}
-			next = 0x00;
+			next = NULL;
 
 			if (keyfile) {
 				addhostkey(keyfile);