From 73bbf1a7eb18282d438bdc63d7ce02110f91ab99 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 12 Jul 2025 22:52:24 +0200 Subject: [PATCH] h2_upgrade_extreme: rename func to pacify typos tool --- .github/scripts/typos.toml | 2 +- tests/client/h2_upgrade_extreme.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index d1abf6f429..37a9d06f46 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -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)", diff --git a/tests/client/h2_upgrade_extreme.c b/tests/client/h2_upgrade_extreme.c index e6546af3a0..46ab7edfc6 100644 --- a/tests/client/h2_upgrade_extreme.c +++ b/tests/client/h2_upgrade_extreme.c @@ -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),