From 5013ecac4a4e60d9c531faeeae2a2ae6d1a01a9c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 16 Jul 2025 13:44:39 +0200 Subject: [PATCH] timeval: move an exception inline --- .github/scripts/typos.toml | 2 +- lib/curlx/timeval.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index b351541d19..848b3509cf 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -7,7 +7,7 @@ extend-ignore-identifiers-re = [ "^(ba|pn|PN|UE)$", "^(CNA|ECT|ser)$", "^(ECT0|ECT1|GOST|HELO|htpt|PASE)$", - "^(numer|optin|_stati64)$", + "^(optin|_stati64)$", "^0x[0-9a-fA-F]+FUL$", "^(Januar|eyeballers|HELO_smtp|kno22|MTA4MzIy|passin|perfec|__SecURE|SMTP_HELO|v_alue)$", "^(clen|req_clen|smtp_perform_helo|smtp_state_helo_resp)$", diff --git a/lib/curlx/timeval.c b/lib/curlx/timeval.c index 501bf9c3fd..a767d1ac72 100644 --- a/lib/curlx/timeval.c +++ b/lib/curlx/timeval.c @@ -172,7 +172,7 @@ struct curltime curlx_now(void) (void) mach_timebase_info(&timebase); usecs = mach_absolute_time(); - usecs *= timebase.numer; + usecs *= timebase.numer; /* spellchecker:disable-line */ usecs /= timebase.denom; usecs /= 1000;