docs: fix time_posttransfer output unit as seconds
No binary (build failed)
—
(log yok)
| @@ -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 | |
| @@ -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)); | |
| } | |
| } | |