]> git.ipfire.org Git - pakfire.git/commitdiff
xfer: Format transfer times in milliseconds
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Jun 2025 17:52:57 +0000 (17:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Jun 2025 17:52:57 +0000 (17:52 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/xfer.c

index 82a0365bc7eb253da772557c134475adde6b85af..6eaa8d15059402f192d841c6b7bada1b616559c8 100644 (file)
@@ -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);