comments: remove old and wrong multi/easy interface statements

This commit is contained in:
Daniel Stenberg
2013-08-09 23:39:09 +02:00
parent 08adecc9a1
commit 2af0b10c95
5 changed files with 7 additions and 10 deletions

View File

@@ -3213,8 +3213,8 @@ static CURLcode ftp_init(struct connectdata *conn)
* the connection phase. * the connection phase.
* *
* The variable 'done' points to will be TRUE if the protocol-layer connect * 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 * phase is done when this function returns, or FALSE if not.
* a part of the easy interface, it will always be TRUE. *
*/ */
static CURLcode ftp_connect(struct connectdata *conn, static CURLcode ftp_connect(struct connectdata *conn,
bool *done) /* see description above */ bool *done) /* see description above */

View File

@@ -1695,8 +1695,7 @@ static int imap_getsock(struct connectdata *conn, curl_socket_t *socks,
* connection phase. * connection phase.
* *
* The variable 'done' points to will be TRUE if the protocol-layer connect * 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 * phase is done when this function returns, or FALSE if not.
* a part of the easy interface, it will always be TRUE.
*/ */
static CURLcode imap_connect(struct connectdata *conn, bool *done) static CURLcode imap_connect(struct connectdata *conn, bool *done)
{ {

View File

@@ -2567,8 +2567,8 @@ void Curl_expire(struct SessionHandle *data, long milli)
struct timeval *nowp = &data->state.expiretime; struct timeval *nowp = &data->state.expiretime;
int rc; int rc;
/* this is only interesting for multi-interface using libcurl, and only /* this is only interesting while there is still an associated multi struct
while there is still a multi interface struct remaining! */ remaining! */
if(!multi) if(!multi)
return; return;

View File

@@ -1421,8 +1421,7 @@ static int pop3_getsock(struct connectdata *conn, curl_socket_t *socks,
* connection phase. * connection phase.
* *
* The variable 'done' points to will be TRUE if the protocol-layer connect * 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 * phase is done when this function returns, or FALSE if not.
* a part of the easy interface, it will always be TRUE.
*/ */
static CURLcode pop3_connect(struct connectdata *conn, bool *done) static CURLcode pop3_connect(struct connectdata *conn, bool *done)
{ {

View File

@@ -1387,8 +1387,7 @@ static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks,
* the connection phase. * the connection phase.
* *
* The variable pointed to by 'done' will be TRUE if the protocol-layer * 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 * connect phase is done when this function returns, or FALSE if not.
* called as a part of the easy interface, it will always be TRUE.
*/ */
static CURLcode smtp_connect(struct connectdata *conn, bool *done) static CURLcode smtp_connect(struct connectdata *conn, bool *done)
{ {