diff options
Diffstat (limited to 'lib/imap.c')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c index f414ee7bb..f6d4362c6 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -841,7 +841,7 @@ CURLcode imap_perform(struct connectdata *conn, result = imap_easy_statemach(conn); *dophase_done = TRUE; /* with the easy interface we are done here */ } - *connected = conn->bits.tcpconnect; + *connected = conn->bits.tcpconnect[FIRSTSOCKET]; if(*dophase_done) DEBUGF(infof(conn->data, "DO phase is complete\n")); |