summaryrefslogtreecommitdiffhomepage
path: root/svr-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-14 23:31:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-14 23:31:42 +0800
commit88ce30beb62716b000289d255deca50006880633 (patch)
treea15e89f770e72a4eef240e776082018ce5579594 /svr-runopts.c
parent723ec19eedd2618cd850e703519fd8432c67e44c (diff)
parentd260d5148e2eec62e7af8d6ec86dae438e4a0ec9 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'svr-runopts.c')
-rw-r--r--svr-runopts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-runopts.c b/svr-runopts.c
index ae4a7fa..93058f7 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);