mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Fixed some typos in output messages.
This commit is contained in:
parent
5872e8dd7e
commit
6e87cf5b30
@ -359,13 +359,13 @@ static CURLcode bindlocal(struct connectdata *conn,
|
|||||||
|
|
||||||
} /* end of if h */
|
} /* end of if h */
|
||||||
else {
|
else {
|
||||||
failf(data,"could't find my own IP address (%s)", myhost);
|
failf(data,"couldn't find my own IP address (%s)", myhost);
|
||||||
return CURLE_HTTP_PORT_FAILED;
|
return CURLE_HTTP_PORT_FAILED;
|
||||||
}
|
}
|
||||||
} /* end of inet_addr */
|
} /* end of inet_addr */
|
||||||
|
|
||||||
else {
|
else {
|
||||||
failf(data, "could't find my own IP address (%s)", myhost);
|
failf(data, "couldn't find my own IP address (%s)", myhost);
|
||||||
return CURLE_HTTP_PORT_FAILED;
|
return CURLE_HTTP_PORT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1110,7 +1110,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
failf(data, "could't find IP address to use");
|
failf(data, "couldn't find IP address to use");
|
||||||
return CURLE_FTP_PORT_FAILED;
|
return CURLE_FTP_PORT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3170,7 +3170,7 @@ CURLcode ftp_perform(struct connectdata *conn,
|
|||||||
*connected = conn->bits.tcpconnect;
|
*connected = conn->bits.tcpconnect;
|
||||||
|
|
||||||
if(*dophase_done)
|
if(*dophase_done)
|
||||||
DEBUGF(infof(conn->data, "DO phase is comlete\n"));
|
DEBUGF(infof(conn->data, "DO phase is complete\n"));
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -3827,7 +3827,7 @@ CURLcode Curl_ftp_doing(struct connectdata *conn,
|
|||||||
if(*dophase_done) {
|
if(*dophase_done) {
|
||||||
result = ftp_dophase_done(conn, FALSE /* not connected */);
|
result = ftp_dophase_done(conn, FALSE /* not connected */);
|
||||||
|
|
||||||
DEBUGF(infof(conn->data, "DO phase is comlete\n"));
|
DEBUGF(infof(conn->data, "DO phase is complete\n"));
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -69,10 +69,10 @@ curl_easy_strerror(CURLcode error)
|
|||||||
return "URL using bad/illegal format or missing URL";
|
return "URL using bad/illegal format or missing URL";
|
||||||
|
|
||||||
case CURLE_COULDNT_RESOLVE_PROXY:
|
case CURLE_COULDNT_RESOLVE_PROXY:
|
||||||
return "couldnt resolve proxy name";
|
return "couldn't resolve proxy name";
|
||||||
|
|
||||||
case CURLE_COULDNT_RESOLVE_HOST:
|
case CURLE_COULDNT_RESOLVE_HOST:
|
||||||
return "couldnt resolve host name";
|
return "couldn't resolve host name";
|
||||||
|
|
||||||
case CURLE_COULDNT_CONNECT:
|
case CURLE_COULDNT_CONNECT:
|
||||||
return "couldn't connect to server";
|
return "couldn't connect to server";
|
||||||
@ -492,7 +492,7 @@ get_winsock_error (int err, char *buf, size_t len)
|
|||||||
p = "Winsock library is not ready";
|
p = "Winsock library is not ready";
|
||||||
break;
|
break;
|
||||||
case WSANOTINITIALISED:
|
case WSANOTINITIALISED:
|
||||||
p = "Winsock library not initalised";
|
p = "Winsock library not initialised";
|
||||||
break;
|
break;
|
||||||
case WSAVERNOTSUPPORTED:
|
case WSAVERNOTSUPPORTED:
|
||||||
p = "Winsock version not supported.";
|
p = "Winsock version not supported.";
|
||||||
|
Loading…
Reference in New Issue
Block a user