summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-16 23:52:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-18 22:56:46 +0200
commit60f0ebbdc9fbddccaa4e2fcd1dce3d3a05f234ed (patch)
treec200444ea0b9906be890a6b24b01b7cea6a9fc2e /include
parentb5d170b55110bacc61a4aa8bf99df1afc303c5dc (diff)
downloadcurl-60f0ebbdc9fbddccaa4e2fcd1dce3d3a05f234ed.tar.gz
CLOSESOCKETFUNCTION: use the callback
Fix the return type of the callback to match close() and make use of it.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
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 {