← Commit list

a62e08c5eb

Viktor Szakats
Viktor Szakats
2026-06-27
SUCCESS Duration: 255s

Subject

lib: fix 'ns' -> 'us' in trace messages

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_trc.c+1 -1
@@ -345,7 +345,7 @@ void Curl_trc_easy_timers(struct Curl_easy *data)
while(e) {
struct time_node *n = Curl_node_elem(e);
e = Curl_node_next(e);
- CURL_TRC_TIMER(data, n->eid, "expires in %" FMT_TIMEDIFF_T "ns",
+ CURL_TRC_TIMER(data, n->eid, "expires in %" FMT_TIMEDIFF_T "us",
curlx_ptimediff_us(&n->time, pnow));
}
}
lib/multi.c+1 -1
@@ -3704,7 +3704,7 @@ static CURLMcode multi_addtimeout(struct Curl_easy *data,
this is the first timeout on the list */
Curl_llist_insert_next(timeoutlist, prev, node, &node->list);
- CURL_TRC_TIMER(data, eid, "set for %" FMT_TIMEDIFF_T "ns",
+ CURL_TRC_TIMER(data, eid, "set for %" FMT_TIMEDIFF_T "us",
curlx_ptimediff_us(&node->time, Curl_pgrs_now(data)));
return CURLM_OK;
}
lib/progress.c+1 -1
@@ -337,7 +337,7 @@ void Curl_pgrsTimeWas(struct Curl_easy *data, timerid timer,
if(us < 1)
us = 1; /* make sure at least one microsecond passed */
*delta += us;
- CURL_TRC_M(data, "[%s] added %" FMT_TIMEDIFF_T "ns",
+ CURL_TRC_M(data, "[%s] added %" FMT_TIMEDIFF_T "us",
pgrs_timer_name(timer), us);
}
else