lib3026.c: rename variable to avoid spelling exceptions

This commit is contained in:
Viktor Szakats 2025-07-12 11:23:34 +02:00
parent a8cf4d3842
commit 2ffdf12c61
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 5 additions and 6 deletions

View file

@ -21,7 +21,6 @@ seh
ser
strat
te
ths
wast
wit
wont

View file

@ -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)",

View file

@ -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__,