diff options
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/file.c b/lib/file.c index a90dc4b8e..dd8a1fd12 100644 --- a/lib/file.c +++ b/lib/file.c @@ -372,7 +372,6 @@ static CURLcode file_do(struct Curl_easy *data, bool *done) curl_off_t expected_size = -1; bool size_known; bool fstated = FALSE; - struct connectdata *conn = data->conn; char *buf = data->state.buffer; curl_off_t bytecount = 0; int fd; @@ -451,7 +450,7 @@ static CURLcode file_do(struct Curl_easy *data, bool *done) } /* Check whether file range has been specified */ - result = Curl_range(conn); + result = Curl_range(data); if(result) return result; |