From: Daniel Stenberg Date: Mon, 28 Jan 2002 19:22:40 +0000 (+0000) Subject: don't count a custom request as a request type of its own, it is merely X-Git-Tag: curl-7_9_4~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28049a183ca3f0c315571d4909ff7fbbc23cc81f;p=thirdparty%2Fcurl.git don't count a custom request as a request type of its own, it is merely a modifier of another type --- diff --git a/src/main.c b/src/main.c index 696f7684f2..b6a8115544 100644 --- a/src/main.c +++ b/src/main.c @@ -1450,10 +1450,8 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ GetStr(&config->proxy, nextarg); break; case 'X': - /* HTTP request */ + /* set custom request */ GetStr(&config->customrequest, nextarg); - if(SetHTTPrequest(HTTPREQ_CUSTOM, &config->httpreq)) - return PARAM_BAD_USE; break; case 'y': /* low speed time */