aboutsummaryrefslogtreecommitdiff
path: root/lib/telnet.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-19 12:20:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-19 12:31:34 +0000
commitaba98991a50d7a4f2deb8fc3f9ddc5628a207da5 (patch)
tree170c920f1a17fea231bc8cb4f3f1775cb54b5c31 /lib/telnet.h
parentdb1beab1d7bd37948155ab741caae079053f92a8 (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 'lib/telnet.h')
0 files changed, 0 insertions, 0 deletions