Mercurial > dropbear
comparison cli-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 | f7a53832501d |
comparison
equal
deleted
inserted
replaced
1403:ae6887d9ab46 | 1404:e8f67918fdc9 |
---|---|
104 | 104 |
105 } | 105 } |
106 | 106 |
107 void cli_getopts(int argc, char ** argv) { | 107 void cli_getopts(int argc, char ** argv) { |
108 unsigned int i, j; | 108 unsigned int i, j; |
109 char ** next = 0; | 109 char ** next = NULL; |
110 enum { | 110 enum { |
111 OPT_EXTENDED_OPTIONS, | 111 OPT_EXTENDED_OPTIONS, |
112 #if DROPBEAR_CLI_PUBKEY_AUTH | 112 #if DROPBEAR_CLI_PUBKEY_AUTH |
113 OPT_AUTHKEY, | 113 OPT_AUTHKEY, |
114 #endif | 114 #endif |