mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
lib3026.c: rename variable to avoid spelling exceptions
This commit is contained in:
parent
a8cf4d3842
commit
2ffdf12c61
3 changed files with 5 additions and 6 deletions
1
.github/scripts/codespell-ignore.txt
vendored
1
.github/scripts/codespell-ignore.txt
vendored
|
|
@ -21,7 +21,6 @@ seh
|
|||
ser
|
||||
strat
|
||||
te
|
||||
ths
|
||||
wast
|
||||
wit
|
||||
wont
|
||||
|
|
|
|||
2
.github/scripts/typos.toml
vendored
2
.github/scripts/typos.toml
vendored
|
|
@ -5,7 +5,7 @@
|
|||
[default]
|
||||
extend-ignore-identifiers-re = [
|
||||
"(ba|BA|fo|Fo|FU|Iy|ND|OT|pn|PN|ue|UE)",
|
||||
"(bck|ben|CNA|ECT|EDE|edn|ein|Jod|kno|MEK|Ned|noo|nin|nto|ser|ths|Typ|typ|URE|wrk)",
|
||||
"(bck|ben|CNA|ECT|EDE|edn|ein|Jod|kno|MEK|Ned|noo|nin|nto|ser|Typ|typ|URE|wrk)",
|
||||
"(admi|alue|CLEA|clen|GOST|HELO|helo|htpt|PARM|PASE)",
|
||||
"(HEADE|numer|optin|stati)",
|
||||
"(Januar|passin|Passiv|perfec|PUNICODE|TEMPLAT)",
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ static CURLcode test_lib3026(char *URL)
|
|||
typedef uintptr_t curl_win_thread_handle_t;
|
||||
#endif
|
||||
CURLcode results[NUM_THREADS];
|
||||
curl_win_thread_handle_t ths[NUM_THREADS];
|
||||
curl_win_thread_handle_t thread_handles[NUM_THREADS];
|
||||
unsigned tid_count = NUM_THREADS, i;
|
||||
CURLcode test_failure = CURLE_OK;
|
||||
curl_version_info_data *ver;
|
||||
|
|
@ -79,13 +79,13 @@ static CURLcode test_lib3026(char *URL)
|
|||
test_failure = TEST_ERR_MAJOR_BAD;
|
||||
goto cleanup;
|
||||
}
|
||||
ths[i] = th;
|
||||
thread_handles[i] = th;
|
||||
}
|
||||
|
||||
cleanup:
|
||||
for(i = 0; i < tid_count; i++) {
|
||||
WaitForSingleObject((HANDLE)ths[i], INFINITE);
|
||||
CloseHandle((HANDLE)ths[i]);
|
||||
WaitForSingleObject((HANDLE)thread_handles[i], INFINITE);
|
||||
CloseHandle((HANDLE)thread_handles[i]);
|
||||
if(results[i] != CURLE_OK) {
|
||||
curl_mfprintf(stderr, "%s:%d thread[%u]: curl_global_init() failed,"
|
||||
"with code %d (%s)\n", __FILE__, __LINE__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue