- dtucker@cvs.openbsd.org 2004/05/20 10:58:05
[clientloop.c]
Trivial type fix 0 -> '\0'; ok markus@
diff --git a/ChangeLog b/ChangeLog
index bc124cc..faec11d 100644
--- 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
@@ -1133,4 +1136,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3359 2004/05/24 00:12:19 dtucker Exp $
+$Id: ChangeLog,v 1.3360 2004/05/24 00:13:07 dtucker Exp $
diff --git a/clientloop.c b/clientloop.c
index b76f808..9cbc1b0 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 @@
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.");