fix compiler warning

This commit is contained in:
Yang Tse 2008-10-24 01:27:00 +00:00
parent b767440399
commit 6ea91af2f8
4 changed files with 13 additions and 16 deletions

View file

@ -1836,13 +1836,10 @@ static CURLcode https_connecting(struct connectdata *conn, bool *done)
/* perform SSL initialization for this socket */
result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, done);
if(result) {
if(result)
conn->bits.close = TRUE; /* a failed connection is marked for closure
to prevent (bad) re-use or similar */
return result;
}
return CURLE_OK;
return result;
}
#ifdef USE_SSLEAY