aboutsummaryrefslogtreecommitdiff
path: root/src/tool_util.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-19 16:14:09 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-19 16:26:19 +0000
commit33b8960dc88d8d0a5bfef92f891515b9a3b9727d (patch)
treed50913a1b3e78817b9e8bab8ebe8c6f3177a3449 /src/tool_util.h
parentde966b403a181e8a42cdef69e6b5cb52fa8f8ccf (diff)
tool: Fixed incorrect return code if password prompting runs out of memory
Due to the changes in commit 3c929ff9f6ea and lack of subsequent updates, curl could return a CURLE_FTP_ACCEPT_FAILED error if checkpasswd() ran out of memory in versions 7.33.0 and 7.34.0. Updated the function declaration and return code to return CURLE_OUT_OF_MEMORY and CURLE_OK where appropriate.
Diffstat (limited to 'src/tool_util.h')
0 files changed, 0 insertions, 0 deletions