From e16758294783f418cee7713dac031d5aeaf1e76c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 24 May 2004 10:13:07 +1000 Subject: - dtucker@cvs.openbsd.org 2004/05/20 10:58:05 [clientloop.c] Trivial type fix 0 -> '\0'; ok markus@ --- ChangeLog | 5 ++++- clientloop.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc124cc7d..faec11df9 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 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."); -- cgit v1.2.3