diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 16:01:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 16:01:47 +0000 |
commit | 7225b1400236c786add1516e38676d65a7bbd327 (patch) | |
tree | 5ad3dd30c79f886bc28cabe8e7f01e0613589fb9 /lib/transfer.h | |
parent | 85838a8966692831cf7d3744b34f5a04260366fd (diff) | |
download | curl-7225b1400236c786add1516e38676d65a7bbd327.tar.gz |
curl_socket_t mistakes cleanup
Diffstat (limited to 'lib/transfer.h')
-rw-r--r-- | lib/transfer.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/transfer.h b/lib/transfer.h index cc6eca0df..c99c20347 100644 --- a/lib/transfer.h +++ b/lib/transfer.h @@ -37,14 +37,13 @@ CURLcode Curl_readwrite_init(struct connectdata *conn); /* This sets up a forthcoming transfer */ CURLcode Curl_Transfer (struct connectdata *data, - curl_socket_t sockfd, /* socket to read from or - CURL_SOCKET_BAD */ + 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 */ - curl_socket_t writesockfd, /* socket to write to, it may very - well be the same we read from. - CURL_SOCKET_BAD disables */ + int writesockindex, /* socket index to write to, it may + very well be the same we read from. + -1 disables */ curl_off_t *writecountp /* return number of bytes written */ ); #endif |