From 60f0ebbdc9fbddccaa4e2fcd1dce3d3a05f234ed Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 May 2011 23:52:15 +0200 Subject: CLOSESOCKETFUNCTION: use the callback Fix the return type of the callback to match close() and make use of it. --- include/curl/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index e4fbfdf89..a9d42fad6 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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 { -- cgit v1.2.3