mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
added a comment about the ignoring of the Curl_done() return code
This commit is contained in:
parent
23547fa2a0
commit
0e73361a06
@ -615,8 +615,11 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
|
|||||||
(easy->easy_conn->data == easy->easy_handle)) {
|
(easy->easy_conn->data == easy->easy_handle)) {
|
||||||
|
|
||||||
/* Curl_done() clears the conn->data field to lose the association
|
/* Curl_done() clears the conn->data field to lose the association
|
||||||
between the easy handle and the connection */
|
between the easy handle and the connection
|
||||||
Curl_done(&easy->easy_conn, easy->result, premature);
|
|
||||||
|
Note that this ignores the return code simply because there's nothing
|
||||||
|
really useful to do with it anyway! */
|
||||||
|
(void)Curl_done(&easy->easy_conn, easy->result, premature);
|
||||||
|
|
||||||
if(easy->easy_conn)
|
if(easy->easy_conn)
|
||||||
/* the connection is still alive, set back the association to enable
|
/* the connection is still alive, set back the association to enable
|
||||||
|
Loading…
Reference in New Issue
Block a user