]> granicus.if.org Git - curl/commitdiff
Fix a loop with PWD
authorJames Housley <jim@thehousleys.net>
Fri, 20 Jul 2007 01:03:49 +0000 (01:03 +0000)
committerJames Housley <jim@thehousleys.net>
Fri, 20 Jul 2007 01:03:49 +0000 (01:03 +0000)
lib/ssh.c

index 481a8c5f75dff5b4593ab47b4240274395007a5f..b38656619ad9c88793723783816398eba200e173 100644 (file)
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -749,6 +749,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
                      sftp_scp->path);
             Curl_debug(data, CURLINFO_HEADER_IN, tmp, strlen(tmp), conn);
           }
+          state(conn, SSH_SFTP_NEXT_QUOTE);
+          break;
         }
         else if (sshc->quote_item->data) {
           fprintf(stderr, "data: %s\n", sshc->quote_item->data);