diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-22 18:14:33 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-22 18:14:33 +0000 |
commit | ee23d13a79b185f117580773be9c5171097f8311 (patch) | |
tree | a4363e8d25bf9a496fbf0312ee74c26b218a2ac1 /src/tool_formparse.h | |
parent | dcbae71812a5fdf4dc4335aa10ea75a2ab1b16d4 (diff) |
tool: Fixed incorrect return code when setting HTTP request fails
During initialisation SetHTTPrequest() may fail and cURL would return
PARAM_BAD_USE, which is equivalent to CURLE_NOT_BUILT_IN in cURL error
terms.
Instead, return CURLE_FAILED_INIT as we do for other functions that may
fail during initialisation.
Diffstat (limited to 'src/tool_formparse.h')
0 files changed, 0 insertions, 0 deletions