From 28049a183ca3f0c315571d4909ff7fbbc23cc81f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 Jan 2002 19:22:40 +0000 Subject: don't count a custom request as a request type of its own, it is merely a modifier of another type --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 696f7684f..b6a811554 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 */ -- cgit v1.2.3