diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2017-12-17 17:26:10 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-12-26 02:01:48 -0500 |
commit | 859ac3602159ef3df77ac4cb1ae191b069ff1b5b (patch) | |
tree | 80eae8e7fa9d6505c16190422be22c5b8ce324df /lib/ftplistparser.h | |
parent | b399b04902c43f479b51b142505700edcfc34271 (diff) |
tool_getparam: Support size modifiers for --max-filesize
- Move the size modifier detection code from limit-rate to its own
function so that it can also be used with max-filesize.
Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc.
For example --max-filesize 1G
Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html
Closes https://github.com/curl/curl/pull/2179
Diffstat (limited to 'lib/ftplistparser.h')
0 files changed, 0 insertions, 0 deletions