lib: fix 'ns' -> 'us' in trace messages
No binary (build failed)
—
(log yok)
| @@ -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)); | |
| } | |
| } | |
| @@ -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; | |
| } | |
| @@ -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 | |