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/telnet.c | |
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/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index c925ad52e..2d9adda51 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1079,7 +1079,7 @@ CURLcode Curl_telnet(struct connectdata *conn) { CURLcode code; struct SessionHandle *data = conn->data; - int sockfd = conn->sock[FIRSTSOCKET]; + curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; #ifdef WIN32 HMODULE wsock2; WSOCK2_FUNC close_event_func; |