From 2af0b10c9504347ec6393792036dd43f2dae0679 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 9 Aug 2013 23:39:09 +0200
Subject: [PATCH] comments: remove old and wrong multi/easy interface
 statements

---
 lib/ftp.c   | 4 ++--
 lib/imap.c  | 3 +--
 lib/multi.c | 4 ++--
 lib/pop3.c  | 3 +--
 lib/smtp.c  | 3 +--
 5 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/lib/ftp.c b/lib/ftp.c
index 80b4a04871..c9b97ddb51 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3213,8 +3213,8 @@ static CURLcode ftp_init(struct connectdata *conn)
  * the connection phase.
  *
  * The variable 'done' points to will be TRUE if the protocol-layer connect
- * phase is done when this function returns, or FALSE is not. When called as
- * a part of the easy interface, it will always be TRUE.
+ * phase is done when this function returns, or FALSE if not.
+ *
  */
 static CURLcode ftp_connect(struct connectdata *conn,
                                  bool *done) /* see description above */
diff --git a/lib/imap.c b/lib/imap.c
index 5d758d4558..13e9784a4a 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -1695,8 +1695,7 @@ static int imap_getsock(struct connectdata *conn, curl_socket_t *socks,
  * connection phase.
  *
  * The variable 'done' points to will be TRUE if the protocol-layer connect
- * phase is done when this function returns, or FALSE is not. When called as
- * a part of the easy interface, it will always be TRUE.
+ * phase is done when this function returns, or FALSE if not.
  */
 static CURLcode imap_connect(struct connectdata *conn, bool *done)
 {
diff --git a/lib/multi.c b/lib/multi.c
index b64092a5d1..476f058c58 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2567,8 +2567,8 @@ void Curl_expire(struct SessionHandle *data, long milli)
   struct timeval *nowp = &data->state.expiretime;
   int rc;
 
-  /* this is only interesting for multi-interface using libcurl, and only
-     while there is still a multi interface struct remaining! */
+  /* this is only interesting while there is still an associated multi struct
+     remaining! */
   if(!multi)
     return;
 
diff --git a/lib/pop3.c b/lib/pop3.c
index 57d40afdbf..876987f11a 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1421,8 +1421,7 @@ static int pop3_getsock(struct connectdata *conn, curl_socket_t *socks,
  * connection phase.
  *
  * The variable 'done' points to will be TRUE if the protocol-layer connect
- * phase is done when this function returns, or FALSE is not. When called as
- * a part of the easy interface, it will always be TRUE.
+ * phase is done when this function returns, or FALSE if not.
  */
 static CURLcode pop3_connect(struct connectdata *conn, bool *done)
 {
diff --git a/lib/smtp.c b/lib/smtp.c
index 8bb72aab46..83fb9ec440 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1387,8 +1387,7 @@ static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks,
  * the connection phase.
  *
  * The variable pointed to by 'done' will be TRUE if the protocol-layer
- * connect phase is done when this function returns, or FALSE if not. When
- * called as a part of the easy interface, it will always be TRUE.
+ * connect phase is done when this function returns, or FALSE if not.
  */
 static CURLcode smtp_connect(struct connectdata *conn, bool *done)
 {
-- 
GitLab