]> granicus.if.org Git - curl/commitdiff
added a comment about the ignoring of the Curl_done() return code
authorDaniel Stenberg <daniel@haxx.se>
Sun, 17 Feb 2008 13:38:19 +0000 (13:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 17 Feb 2008 13:38:19 +0000 (13:38 +0000)
lib/multi.c

index 504e43b0eff9c6b40c3daccc2255c17235f24a99..ab0db32368f74c4de1f8324f1db77fcfba477f81 100644 (file)
@@ -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