diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2006-03-19 11:51:53 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2006-03-19 11:51:53 +0000 |
commit | 84887a399e3d9bb4a509977968b41cf5d5756dcb (patch) | |
tree | 29bb4b2b2dffe80e76103b6daa64873cd9b8750d /usr.bin/ssh | |
parent | 3a75ed0ab46849f817b4e86a68a34fd386bb2cb4 (diff) |
Correct strdelim null test; ok djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/servconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index 112f095cbb7..b8c5eaf1b15 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/servconf.c @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: servconf.c,v 1.147 2006/03/19 02:24:05 djm Exp $"); +RCSID("$OpenBSD: servconf.c,v 1.148 2006/03/19 11:51:52 dtucker Exp $"); #include "ssh.h" #include "log.h" @@ -413,7 +413,7 @@ process_server_config_line(ServerOptions *options, char *line, u_int i; cp = line; - if ((arg = strdelim(&cp)) != NULL) + if ((arg = strdelim(&cp)) == NULL) return 0; /* Ignore leading whitespace */ if (*arg == '\0') |