diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.97 2007/10/24 03:30:02 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.98 2007/12/12 05:04:03 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -1080,6 +1080,8 @@ parse_args(const char **cpp, int *pflag, int *lflag, int *iflag, | |||
1080 | *path1 = xstrdup(argv[optidx]); | 1080 | *path1 = xstrdup(argv[optidx]); |
1081 | break; | 1081 | break; |
1082 | case I_LLS: | 1082 | case I_LLS: |
1083 | /* Skip ls command and following whitespace */ | ||
1084 | cp = cp + strlen(cmd) + strspn(cp, WHITESPACE); | ||
1083 | case I_SHELL: | 1085 | case I_SHELL: |
1084 | /* Uses the rest of the line */ | 1086 | /* Uses the rest of the line */ |
1085 | break; | 1087 | break; |