summaryrefslogtreecommitdiffstats
path: root/clientloop.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-24 10:13:07 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-24 10:13:07 +1000
commite16758294783f418cee7713dac031d5aeaf1e76c (patch)
tree6348f72a1cb7fc743d23beae51a69487b95a47ef /clientloop.c
parentcdf547afe4f7b6ad9b3143bb79163fa7a00f6721 (diff)
- 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index b76f8089..9cbc1b0c 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.");