mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:33:31 +03:00
badwords: catch and fix threading-related words
Also: - sync newlines between the two threaded examples. Closes #20001
This commit is contained in:
parent
8dadff9434
commit
61273f5812
25 changed files with 45 additions and 38 deletions
|
|
@ -161,7 +161,7 @@ static int my_trace(CURL *curl, curl_infotype type,
|
|||
known_offset = 1;
|
||||
}
|
||||
secs = epoch_offset + tv.tv_sec;
|
||||
now = localtime(&secs); /* not thread safe but we do not care */
|
||||
now = localtime(&secs); /* not thread-safe but we do not care */
|
||||
snprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld",
|
||||
now->tm_hour, now->tm_min, now->tm_sec, (long)tv.tv_usec);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue