diff options
| -rw-r--r-- | lib/ssh.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -807,7 +807,8 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)                                  filename);            } -          infof(data, "%s\n", line); +          currLen += snprintf(line+currLen, totalLen-currLen, "\n"); +          res = Curl_client_write(conn, CLIENTWRITE_BOTH, line, 0);            free(line);          }        } | 
