added error text for a failed connect case
This commit is contained in:
Родитель
be3d601217
Коммит
17b18bca3c
|
@ -542,6 +542,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||
/* no good connect was made */
|
||||
sclose(sockfd);
|
||||
*sockconn = -1;
|
||||
failf(data, "Couldn't connect to host");
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче