diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-11-25 09:49:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-11-25 09:49:29 +0000 |
commit | 9ea3831c08fab5b320e381b1552964ff789316c7 (patch) | |
tree | e8c93446f0e8a94e5f8febca647dbfd24a216b34 /lib/ssh.c | |
parent | a46f55b9de423b4084982467d6f28f69a64ab8f3 (diff) |
James Housley fixed SCP downloading by setting the maxdownload.
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -560,6 +560,7 @@ CURLcode Curl_scp_do(struct connectdata *conn, bool *done) } /* download data */ bytecount = (curl_off_t) sb.st_size; + conn->data->reqdata.maxdownload = (curl_off_t) sb.st_size; res = Curl_setup_transfer(conn, FIRSTSOCKET, bytecount, FALSE, NULL, -1, NULL); } |