mirror of https://github.com/moparisthebest/curl
Gisle Vanem's minor fixes
This commit is contained in:
parent
36a2fac79f
commit
8146d46386
|
@ -2768,7 +2768,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
||||||
if(Curl_parsenetrc(conn->hostname,
|
if(Curl_parsenetrc(conn->hostname,
|
||||||
user, passwd,
|
user, passwd,
|
||||||
data->set.netrc_file)) {
|
data->set.netrc_file)) {
|
||||||
infof(data, "Couldn't find host %s in the .netrc file, using defaults",
|
infof(data, "Couldn't find host %s in the .netrc file, using defaults\n",
|
||||||
conn->hostname);
|
conn->hostname);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3281,7 +3281,7 @@ CURLcode Curl_do(struct connectdata **connp)
|
||||||
|
|
||||||
infof(data, "Re-used connection seems dead, get a new one\n");
|
infof(data, "Re-used connection seems dead, get a new one\n");
|
||||||
|
|
||||||
conn->bits.close = TRUE; /* enforce close of this connetion */
|
conn->bits.close = TRUE; /* enforce close of this connection */
|
||||||
result = Curl_done(conn); /* we are so done with this */
|
result = Curl_done(conn); /* we are so done with this */
|
||||||
|
|
||||||
/* conn is no longer a good pointer */
|
/* conn is no longer a good pointer */
|
||||||
|
|
Loading…
Reference in New Issue