mirror of
https://github.com/curl/curl.git
synced 2026-06-06 10:34:17 +03:00
h2_upgrade_extreme: rename func to pacify typos tool
This commit is contained in:
parent
170e2ab11d
commit
73bbf1a7eb
2 changed files with 4 additions and 3 deletions
2
.github/scripts/typos.toml
vendored
2
.github/scripts/typos.toml
vendored
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[default]
|
||||
extend-ignore-identifiers-re = [
|
||||
"(ba|BA|FU|Iy|ND|OT|pn|PN|ue|UE)",
|
||||
"(ba|BA|FU|Iy|ND|OT|pn|PN|UE)",
|
||||
"(ben|CNA|ECT|EDE|Jod|kno|MEK|Ned|noo|nto|ser|Typ|URE)",
|
||||
"(admi|alue|CLEA|clen|GOST|HELO|helo|htpt|PASE)",
|
||||
"(HEADE|numer|optin|stati)",
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
static size_t write_h2ue_cb(char *ptr, size_t size, size_t nmemb, void *opaque)
|
||||
static size_t write_h2_upg_extreme_cb(char *ptr, size_t size, size_t nmemb,
|
||||
void *opaque)
|
||||
{
|
||||
(void)ptr;
|
||||
(void)opaque;
|
||||
|
|
@ -69,7 +70,7 @@ static int test_h2_upgrade_extreme(int argc, char *argv[])
|
|||
curl_easy_setopt(easy, CURLOPT_AUTOREFERER, 1L);
|
||||
curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1L);
|
||||
curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
|
||||
curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_h2ue_cb);
|
||||
curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_h2_upg_extreme_cb);
|
||||
curl_easy_setopt(easy, CURLOPT_WRITEDATA, NULL);
|
||||
curl_easy_setopt(easy, CURLOPT_HTTPGET, 1L);
|
||||
curl_msnprintf(range, sizeof(range),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue