diff options
Diffstat (limited to 'sftp-int.c')
-rw-r--r-- | sftp-int.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sftp-int.c b/sftp-int.c index 94299aa43..c93eaabff 100644 --- a/sftp-int.c +++ b/sftp-int.c | |||
@@ -351,6 +351,7 @@ get_pathname(const char **cpp, char **path) | |||
351 | for (i = j = 0; i <= strlen(cp); i++) { | 351 | for (i = j = 0; i <= strlen(cp); i++) { |
352 | if (cp[i] == quot) { /* Found quote */ | 352 | if (cp[i] == quot) { /* Found quote */ |
353 | (*path)[j] = '\0'; | 353 | (*path)[j] = '\0'; |
354 | i++; | ||
354 | break; | 355 | break; |
355 | } | 356 | } |
356 | if (cp[i] == '\0') { /* End of string */ | 357 | if (cp[i] == '\0') { /* End of string */ |