diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 398cd812e..b77411bf1 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -314,13 +314,13 @@ static int operate_do(struct Configurable *config) if(SetHTTPrequest(config, (config->no_body?HTTPREQ_HEAD:HTTPREQ_GET), &config->httpreq)) { - res = PARAM_BAD_USE; + res = CURLE_FAILED_INIT; goto quit_curl; } } else { if(SetHTTPrequest(config, HTTPREQ_SIMPLEPOST, &config->httpreq)) { - res = PARAM_BAD_USE; + res = CURLE_FAILED_INIT; goto quit_curl; } } |