diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 22:52:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 22:52:50 +0000 |
commit | ce5805a955c5a79d85792caad47594987f0e0b26 (patch) | |
tree | e22b4801edb6a5448aa38730d311ccace9eb2be3 /lib/sendf.h | |
parent | dad0715d7907e8a64f2cccf1d21b648018f11f41 (diff) | |
download | curl-ce5805a955c5a79d85792caad47594987f0e0b26.tar.gz |
Use curl_socket_t instead of int for holding sockets. The typedefs and
defines are in setup.h.
Diffstat (limited to 'lib/sendf.h')
-rw-r--r-- | lib/sendf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.h b/lib/sendf.h index b2947918e..73cd215ae 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -38,7 +38,7 @@ CURLcode Curl_client_write(struct SessionHandle *data, int type, char *ptr, size_t len); /* internal read-function, does plain socket, SSL and krb4 */ -int Curl_read(struct connectdata *conn, int sockfd, +int Curl_read(struct connectdata *conn, curl_socket_t sockfd, char *buf, size_t buffersize, ssize_t *n); /* internal write-function, does plain socket, SSL and krb4 */ |