aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
commitb791e158f0e04a518dea19fdaf0bfbf71b343c64 (patch)
tree4284e63220eb5883c24351dc2f52282645b3b7cf /lib/transfer.c
parent6cd0a90b523c594c75a5cb517f8081390e9e88df (diff)
use curl_off_t instead of off_t!
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 0cf9ef222..3c2bf4baf 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1955,14 +1955,14 @@ CURLcode Curl_perform(struct SessionHandle *data)
CURLcode
Curl_Transfer(struct connectdata *c_conn, /* connection data */
- int sockindex, /* socket index to read from or -1 */
- off_t size, /* -1 if unknown at this point */
- bool getheader, /* TRUE if header parsing is wanted */
- off_t *bytecountp, /* return number of bytes read or NULL */
+ int sockindex, /* socket index to read from or -1 */
+ curl_off_t size, /* -1 if unknown at this point */
+ bool getheader, /* TRUE if header parsing is wanted */
+ curl_off_t *bytecountp, /* return number of bytes read or NULL */
int writesockindex, /* socket index to write to, it may very
well be the same we read from. -1
disables */
- off_t *writebytecountp /* return number of bytes written or
+ curl_off_t *writecountp /* return number of bytes written or
NULL */
)
{
@@ -1978,7 +1978,7 @@ Curl_Transfer(struct connectdata *c_conn, /* connection data */
conn->bits.getheader = getheader;
conn->bytecountp = bytecountp;
conn->writesockfd = writesockindex==-1?-1:conn->sock[writesockindex];
- conn->writebytecountp = writebytecountp;
+ conn->writebytecountp = writecountp;
return CURLE_OK;