diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-02-17 13:38:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-02-17 13:38:19 +0000 |
commit | 0e73361a06fd0b458816d1121fe39e0415f9f150 (patch) | |
tree | 1b2c38302e0e5687be796b7483f119fc13725237 /lib | |
parent | 23547fa2a0687927d684fa8328f2863853c26d06 (diff) |
added a comment about the ignoring of the Curl_done() return code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index 504e43b0e..ab0db3236 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -615,8 +615,11 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle, (easy->easy_conn->data == easy->easy_handle)) { /* Curl_done() clears the conn->data field to lose the association - between the easy handle and the connection */ - Curl_done(&easy->easy_conn, easy->result, premature); + between the easy handle and the connection + + 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) /* the connection is still alive, set back the association to enable |