aboutsummaryrefslogtreecommitdiff
path: root/src/tool_metalink.h
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2020-03-26 23:15:37 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2020-03-27 23:32:25 +0100
commit884de1a763af186984cbcbe7b35b551c06025284 (patch)
tree44278ea099d5565e87378d0b4d9c88e1e65db26e /src/tool_metalink.h
parentd973bdf88175ea16ea2e3045a724c1df4f9dd507 (diff)
writeout_json: Fix data type issues
Load long values correctly (e.g. for http_code). Use curl_off_t (not long) for: - size_download (CURLINFO_SIZE_DOWNLOAD_T) - size_upload (CURLINFO_SIZE_UPLOAD_T) The unit for these values is bytes/second, not microseconds: - speed_download (CURLINFO_SPEED_DOWNLOAD_T) - speed_upload (CURLINFO_SPEED_UPLOAD_T) Fixes #5131 Closes #5152
Diffstat (limited to 'src/tool_metalink.h')
0 files changed, 0 insertions, 0 deletions