diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | clientloop.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -4,6 +4,9 @@ | |||
4 | [sftp-client.c sftp.c] | 4 | [sftp-client.c sftp.c] |
5 | gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while | 5 | gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while |
6 | waiting for a command; ok markus@ | 6 | waiting for a command; ok markus@ |
7 | - dtucker@cvs.openbsd.org 2004/05/20 10:58:05 | ||
8 | [clientloop.c] | ||
9 | Trivial type fix 0 -> '\0'; ok markus@ | ||
7 | 10 | ||
8 | 20040523 | 11 | 20040523 |
9 | - (djm) [sshd_config] Explain consequences of UsePAM=yes a little better in | 12 | - (djm) [sshd_config] Explain consequences of UsePAM=yes a little better in |
@@ -1133,4 +1136,4 @@ | |||
1133 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1136 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1134 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1137 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1135 | 1138 | ||
1136 | $Id: ChangeLog,v 1.3359 2004/05/24 00:12:19 dtucker Exp $ | 1139 | $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 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.119 2004/05/08 00:21:31 djm Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.120 2004/05/20 10:58:05 dtucker Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -515,7 +515,7 @@ process_cmdline(void) | |||
515 | goto out; | 515 | goto out; |
516 | while (*s && isspace(*s)) | 516 | while (*s && isspace(*s)) |
517 | s++; | 517 | s++; |
518 | if (*s == 0) | 518 | if (*s == '\0') |
519 | goto out; | 519 | goto out; |
520 | if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) { | 520 | if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) { |
521 | logit("Invalid command."); | 521 | logit("Invalid command."); |