summaryrefslogtreecommitdiff
path: root/lib/imap.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-03-30 00:17:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-03-30 07:52:28 +0200
commit575e885db0f3b2c50434f63269438fe21cbbb978 (patch)
tree48bd63f9b3ccd9220f0de284de6fd678311f2134 /lib/imap.c
parent93935c08c1b85482bc86bd6adcc33c1d924eed5e (diff)
downloadcurl-575e885db0f3b2c50434f63269438fe21cbbb978.tar.gz
multi: turn Curl_done into file local multi_done
... as it now is used by multi.c only.
Diffstat (limited to 'lib/imap.c')
-rw-r--r--lib/imap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/imap.c b/lib/imap.c
index ff25e54e0..236a8c64f 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -1486,10 +1486,6 @@ static CURLcode imap_done(struct connectdata *conn, CURLcode status,
(void)premature;
if(!imap)
- /* When the easy handle is removed from the multi interface while libcurl
- is still trying to resolve the host name, the IMAP struct is not yet
- initialized. However, the removal action calls Curl_done() which in
- turn calls this function, so we simply return success. */
return CURLE_OK;
if(status) {
@@ -1512,8 +1508,7 @@ static CURLcode imap_done(struct connectdata *conn, CURLcode status,
TODO: when the multi interface is used, this _really_ should be using
the imap_multi_statemach function but we have no general support for
- non-blocking DONE operations, not in the multi state machine and with
- Curl_done() invokes on several places in the code!
+ non-blocking DONE operations!
*/
if(!result)
result = imap_block_statemach(conn);