diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-01-19 12:20:01 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-01-19 12:31:34 +0000 |
commit | aba98991a50d7a4f2deb8fc3f9ddc5628a207da5 (patch) | |
tree | 170c920f1a17fea231bc8cb4f3f1775cb54b5c31 /tests/getpart.pm | |
parent | db1beab1d7bd37948155ab741caae079053f92a8 (diff) |
tool: Fixed incorrect return code if command line parser runs out of memory
In the rare instance where getparameter() may return PARAM_NO_MEM whilst
parsing a URL, cURL would return this error code, which is equivalent to
CURLE_FTP_ACCEPT_FAILED in cURL error codes terms.
Instead, return CURLE_FAILED_INIT and output the failure reason as per
the other usage of getparameter().
Diffstat (limited to 'tests/getpart.pm')
0 files changed, 0 insertions, 0 deletions