]> andersk Git - openssh.git/commitdiff
- dtucker@cvs.openbsd.org 2004/05/20 10:58:05
authordtucker <dtucker>
Mon, 24 May 2004 00:13:07 +0000 (00:13 +0000)
committerdtucker <dtucker>
Mon, 24 May 2004 00:13:07 +0000 (00:13 +0000)
     [clientloop.c]
     Trivial type fix 0 -> '\0'; ok markus@

ChangeLog
clientloop.c

index 7e46aecb768ba07e5b71a1dc61a4848694f20726..e4409534c12def5f5c9e56adbaa7cc226515ad32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
      [sftp-client.c sftp.c]
      gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while
      waiting for a command; ok markus@
+   - dtucker@cvs.openbsd.org 2004/05/20 10:58:05
+     [clientloop.c]
+     Trivial type fix 0 -> '\0'; ok markus@
 
 20040523
  - (djm) [sshd_config] Explain consequences of UsePAM=yes a little better in 
index b76f80890d6e167c439d3a5a75b60619d5dddafe..9cbc1b0ce473656d2a1a72e0ac2df42b07e29806 100644 (file)
@@ -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.");
This page took 0.046049 seconds and 5 git commands to generate.