mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
lib: the number four in a sequence is the "fourth"
Spelling is hard Closes #9535
This commit is contained in:
parent
a46e412464
commit
660cf3d4ed
@ -746,7 +746,7 @@ static void addrinfo_cb(void *arg, int status, int timeouts,
|
||||
* Curl_resolver_getaddrinfo() - when using ares
|
||||
*
|
||||
* Returns name information about the given hostname and port number. If
|
||||
* successful, the 'hostent' is returned and the forth argument will point to
|
||||
* successful, the 'hostent' is returned and the fourth argument will point to
|
||||
* memory we need to free after use. That memory *MUST* be freed with
|
||||
* Curl_freeaddrinfo(), nothing else.
|
||||
*/
|
||||
|
@ -148,7 +148,7 @@ CURLcode Curl_resolver_wait_resolv(struct Curl_easy *data,
|
||||
* Curl_resolver_getaddrinfo() - when using this resolver
|
||||
*
|
||||
* Returns name information about the given hostname and port number. If
|
||||
* successful, the 'hostent' is returned and the forth argument will point to
|
||||
* successful, the 'hostent' is returned and the fourth argument will point to
|
||||
* memory we need to free after use. That memory *MUST* be freed with
|
||||
* Curl_freeaddrinfo(), nothing else.
|
||||
*
|
||||
|
@ -96,8 +96,8 @@ static void dump_addrinfo(struct connectdata *conn,
|
||||
* non-ares version).
|
||||
*
|
||||
* Returns name information about the given hostname and port number. If
|
||||
* successful, the 'addrinfo' is returned and the forth argument will point to
|
||||
* memory we need to free after use. That memory *MUST* be freed with
|
||||
* successful, the 'addrinfo' is returned and the fourth argument will point
|
||||
* to memory we need to free after use. That memory *MUST* be freed with
|
||||
* Curl_freeaddrinfo(), nothing else.
|
||||
*/
|
||||
struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data,
|
||||
|
@ -3618,7 +3618,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn,
|
||||
The second format was added since Sun's webserver
|
||||
JavaWebServer/1.1.1 obviously sends the header this way!
|
||||
The third added since some servers use that!
|
||||
The forth means the requested range was unsatisfied.
|
||||
The fourth means the requested range was unsatisfied.
|
||||
*/
|
||||
|
||||
char *ptr = headp + strlen("Content-Range:");
|
||||
|
Loading…
x
Reference in New Issue
Block a user