diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-04-16 16:34:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-04-16 16:34:08 +0000 |
commit | 76627b322e369c209c60863b9e1f05e3ce02953d (patch) | |
tree | 74658f06175743e0518963b8e5ed9e37eae3f1c5 /lib/connect.c | |
parent | 827228bd69f8dd17824ae878d6211809b193eaff (diff) |
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
function that deprecates the curl_multi_socket() function. Using the new
function the application tell libcurl what action that was found in the
socket that it passes in. This gives a significant performance boost as it
allows libcurl to avoid a call to poll()/select() for every call to
curl_multi_socket*().
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 95791cf5d..dd67638ff 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -206,7 +206,7 @@ int waitconnect(curl_socket_t sockfd, /* socket */ /* timeout, no connect today */ return WAITCONN_TIMEOUT; - if(rc & CSELECT_ERR) + if(rc & CURL_CSELECT_ERR) /* error condition caught */ return WAITCONN_FDSET_ERROR; |