mirror of
https://github.com/curl/curl.git
synced 2026-07-14 00:37:21 +03:00
parent
2538dc04e3
commit
02dca1eb86
3 changed files with 5 additions and 5 deletions
|
|
@ -633,7 +633,7 @@ CURLcode Curl_ntlm_core_mk_ntlmv2_resp(const unsigned char *ntlmv2hash,
|
|||
*
|
||||
* ntlmv2hash [in] - The NTLMv2 hash (16 bytes)
|
||||
* challenge_client [in] - The client nonce (8 bytes)
|
||||
* challenge_client [in] - The server challenge (8 bytes)
|
||||
* challenge_server [in] - The server challenge (8 bytes)
|
||||
* lmresp [out] - The LMv2 response (24 bytes)
|
||||
*
|
||||
* Returns CURLE_OK on success.
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ static CURLMcode multi_xfers_add(struct Curl_multi *multi,
|
|||
|
||||
if(capacity < max_capacity) {
|
||||
/* We want `multi->xfers` to have "sufficient" free rows, so that we do
|
||||
* have to reuse the `mid` from a removed easy right away.
|
||||
* not have to reuse the `mid` from a removed easy right away.
|
||||
* Since uint_tbl and uint_bset are memory efficient,
|
||||
* regard less than 25% free as insufficient.
|
||||
* (for low capacities, e.g. multi_easy, 4 or less). */
|
||||
|
|
@ -420,7 +420,7 @@ static CURLMcode multi_xfers_add(struct Curl_multi *multi,
|
|||
new_size = max_capacity; /* can not be larger than this */
|
||||
}
|
||||
else {
|
||||
/* make it a 64 multiple, since our bitsets frow by that and
|
||||
/* make it a 64 multiple, since our bitsets grow by that and
|
||||
* small (easy_multi) grows to at least 64 on first resize. */
|
||||
new_size = (((used + min_unused) + 63) / 64) * 64;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ static CURLcode tftp_send_first(struct tftp_conn *state,
|
|||
}
|
||||
|
||||
if(data->state.upload) {
|
||||
/* If we are uploading, send an WRQ */
|
||||
/* If we are uploading, send a WRQ */
|
||||
setpacketevent(&state->spacket, TFTP_EVENT_WRQ);
|
||||
if(data->state.infilesize != -1)
|
||||
Curl_pgrsSetUploadSize(data, data->state.infilesize);
|
||||
|
|
@ -740,7 +740,7 @@ static CURLcode tftp_send_first(struct tftp_conn *state,
|
|||
}
|
||||
}
|
||||
|
||||
/* the typecase for the 3rd argument is mostly for systems that do
|
||||
/* the typecast for the 3rd argument is mostly for systems that do
|
||||
not have a size_t argument, like older unixes that want an 'int' */
|
||||
#ifdef __AMIGA__
|
||||
#define CURL_SENDTO_ARG5(x) CURL_UNCONST(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue