summaryrefslogtreecommitdiffhomepage
path: root/svr-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-03 09:41:09 +0800
committerGitHub <noreply@github.com>2017-06-03 09:41:09 +0800
commit4bba3268d5ad0a450f0f3d1b07cd600add47062b (patch)
tree079f7af36bf97dfa3bbe15650b0643351c045b34 /svr-runopts.c
parent92c4f20089ec1f408e0147911631b750617b0ec9 (diff)
parent5f76e4c1ede157ca5a51c2189984e8ee57778d86 (diff)
Merge pull request #40 from fperrad/20161119_lint
more lintings
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 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);