diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-05-20 10:58:06 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-05-20 10:58:06 +0000 |
commit | 76f7ecb2e8da61cb63e957ebc7d99b87362cf9e8 (patch) | |
tree | 4e8d5838f4861a620ad3fa853cc4596655b958f3 | |
parent | fa548ed2239322fed4b99e17ca368c836285328c (diff) |
Trivial type fix 0 -> '\0'; ok markus@
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index b76f80890d6..9cbc1b0ce47 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/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."); |