From: Michael Tremer Date: Sat, 21 Jun 2025 17:52:57 +0000 (+0000) Subject: xfer: Format transfer times in milliseconds X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a3ff06ac5cf13a778e186488fd0cd2083be05e;p=pakfire.git xfer: Format transfer times in milliseconds Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/xfer.c b/src/pakfire/xfer.c index 82a0365b..6eaa8d15 100644 --- a/src/pakfire/xfer.c +++ b/src/pakfire/xfer.c @@ -1369,7 +1369,7 @@ pakfire_xfer_error_code_t pakfire_xfer_done( // Total Times curl_easy_getinfo(h, CURLINFO_TOTAL_TIME, &total_time); - DEBUG(xfer->ctx, " Total Time: %.2fs\n", total_time); + DEBUG(xfer->ctx, " Total Time: %.2fms\n", total_time * 1000.0); // Download Size r = curl_easy_getinfo(h, CURLINFO_SIZE_DOWNLOAD_T, &download_size);