mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
- dtucker@cvs.openbsd.org 2004/05/20 10:58:05
[clientloop.c] Trivial type fix 0 -> '\0'; ok markus@
This commit is contained in:
parent
cdf547afe4
commit
e167582947
@ -4,6 +4,9 @@
|
|||||||
[sftp-client.c sftp.c]
|
[sftp-client.c sftp.c]
|
||||||
gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while
|
gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while
|
||||||
waiting for a command; ok markus@
|
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
|
20040523
|
||||||
- (djm) [sshd_config] Explain consequences of UsePAM=yes a little better in
|
- (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) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (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 $
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "ssh.h"
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
@ -515,7 +515,7 @@ process_cmdline(void)
|
|||||||
goto out;
|
goto out;
|
||||||
while (*s && isspace(*s))
|
while (*s && isspace(*s))
|
||||||
s++;
|
s++;
|
||||||
if (*s == 0)
|
if (*s == '\0')
|
||||||
goto out;
|
goto out;
|
||||||
if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) {
|
if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) {
|
||||||
logit("Invalid command.");
|
logit("Invalid command.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user