summaryrefslogtreecommitdiff
path: root/cli-runopts.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2017-06-02 18:14:31 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2017-06-02 18:14:31 +0200
commit46c2aa4d375a6020ad76ce3a6ab0b89b0a1d0463 (patch)
tree6acd93692b1adc29cd8d1460e084d1ea58293abc /cli-runopts.c
parent6ea3a8a791a65e476401381e5a9eeb0115fc0762 (diff)
downloaddropbear-46c2aa4d375a6020ad76ce3a6ab0b89b0a1d0463.tar.gz
when pointer, use NULL instead of 0
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 4a89ba3..ca50709 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -106,7 +106,7 @@ static void printhelp() {
void cli_getopts(int argc, char ** argv) {
unsigned int i, j;
- char ** next = 0;
+ char ** next = NULL;
enum {
OPT_EXTENDED_OPTIONS,
#if DROPBEAR_CLI_PUBKEY_AUTH