diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clientloop.c b/clientloop.c index c7362caa8..1aeb412a9 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.178 2007/02/20 10:25:14 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.179 2007/03/20 03:56:12 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -935,7 +935,7 @@ process_cmdline(void) | |||
935 | cmd = s = read_passphrase("\r\nssh> ", RP_ECHO); | 935 | cmd = s = read_passphrase("\r\nssh> ", RP_ECHO); |
936 | if (s == NULL) | 936 | if (s == NULL) |
937 | goto out; | 937 | goto out; |
938 | while (*s && isspace(*s)) | 938 | while (isspace(*s)) |
939 | s++; | 939 | s++; |
940 | if (*s == '-') | 940 | if (*s == '-') |
941 | s++; /* Skip cmdline '-', if any */ | 941 | s++; /* Skip cmdline '-', if any */ |
@@ -982,9 +982,8 @@ process_cmdline(void) | |||
982 | goto out; | 982 | goto out; |
983 | } | 983 | } |
984 | 984 | ||
985 | s++; | 985 | while (isspace(*++s)) |
986 | while (*s && isspace(*s)) | 986 | ; |
987 | s++; | ||
988 | 987 | ||
989 | if (delete) { | 988 | if (delete) { |
990 | cancel_port = 0; | 989 | cancel_port = 0; |