diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-02 07:25:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-02 07:25:39 +0000 |
commit | 7ab3b5b3bb4c02dc00621efe13b8d3b29b819250 (patch) | |
tree | 2e0f118ed75aed0201d4b15d8d1b948cda184430 /lib/transfer.c | |
parent | 00d5f886e3037434f7173f06908ade39488476b5 (diff) |
use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
having to redef that name
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index eb48effea..e1803162a 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1240,8 +1240,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, if (data->set.timeout && ((Curl_tvdiff(k->now, k->start)/1000) >= data->set.timeout)) { - failf (data, "Operation timed out with " CURL_FORMAT_OFF_T " out of " - CURL_FORMAT_OFF_T " bytes received", + failf (data, "Operation timed out with " FORMAT_OFF_T " out of " + FORMAT_OFF_T " bytes received", k->bytecount, conn->size); return CURLE_OPERATION_TIMEOUTED; } @@ -1255,7 +1255,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, if(!(data->set.no_body) && (conn->size != -1) && (k->bytecount != conn->size) && !conn->newurl) { - failf(data, "transfer closed with " CURL_FORMAT_OFF_T + failf(data, "transfer closed with " FORMAT_OFF_T " bytes remaining to read", conn->size - k->bytecount); return CURLE_PARTIAL_FILE; |