← Commit list

9570fa7908

Sergey Katsubo
Sergey Katsubo
2025-12-15
SUCCESS Duration: 241s

Subject

docs: fix time_posttransfer output unit as seconds

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 →

docs/cmdline-opts/write-out.md+2 -2
@@ -245,8 +245,8 @@ The time, in seconds, it took from the start until the name resolving was
completed.
## `time_posttransfer`
-The time it took from the start until the last byte is sent by libcurl.
-In microseconds. (Added in 8.10.0)
+The time, in seconds, it took from the start until the last byte is sent
+by libcurl. (Added in 8.10.0)
## `time_pretransfer`
The time, in seconds, it took from the start until the file transfer was just
docs/libcurl/opts/CURLINFO_POSTTRANSFER_TIME_T.md+1 -1
@@ -53,7 +53,7 @@ int main(void)
res = curl_easy_getinfo(curl, CURLINFO_POSTTRANSFER_TIME_T,
&posttransfer);
if(CURLE_OK == res) {
- printf("Request sent after: %" CURL_FORMAT_CURL_OFF_T ".%06ld us",
+ printf("Request sent after: %" CURL_FORMAT_CURL_OFF_T ".%06ld s",
posttransfer / 1000000, (long)(posttransfer % 1000000));
}
}