diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-05-24 02:13:07 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-05-24 02:13:07 +0200 |
commit | e16758294783f418cee7713dac031d5aeaf1e76c (patch) | |
tree | 6348f72a1cb7fc743d23beae51a69487b95a47ef /clientloop.c | |
parent | - djm@cvs.openbsd.org 2004/05/19 12:17:33 (diff) | |
download | openssh-e16758294783f418cee7713dac031d5aeaf1e76c.tar.xz openssh-e16758294783f418cee7713dac031d5aeaf1e76c.zip |
- dtucker@cvs.openbsd.org 2004/05/20 10:58:05
[clientloop.c]
Trivial type fix 0 -> '\0'; ok markus@
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index b76f80890..9cbc1b0ce 100644 --- a/clientloop.c +++ b/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.119 2004/05/08 00:21:31 djm Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.120 2004/05/20 10:58:05 dtucker Exp $"); #include "ssh.h" #include "ssh1.h" @@ -515,7 +515,7 @@ process_cmdline(void) goto out; while (*s && isspace(*s)) s++; - if (*s == 0) + if (*s == '\0') goto out; if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) { logit("Invalid command."); |