mirror of
https://github.com/curl/curl.git
synced 2026-04-24 07:22:12 +03:00
CLOSESOCKETFUNCTION: use the callback
Fix the return type of the callback to match close() and make use of it.
This commit is contained in:
parent
b5d170b551
commit
60f0ebbdc9
2 changed files with 5 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue