CLOSESOCKETFUNCTION: use the callback

Fix the return type of the callback to match close() and make use of it.
This commit is contained in:
Daniel Stenberg 2011-05-16 23:52:15 +02:00
parent b5d170b551
commit 60f0ebbdc9
2 changed files with 5 additions and 4 deletions

View file

@ -341,7 +341,7 @@ typedef curl_socket_t
curlsocktype purpose,
struct curl_sockaddr *address);
typedef void
typedef int
(*curl_closesocket_callback)(void *clientp, curl_socket_t item);
typedef enum {