aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-28 19:22:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-28 19:22:40 +0000
commit28049a183ca3f0c315571d4909ff7fbbc23cc81f (patch)
treec32bc10b45225b453a1d8003c03ba5d613454673 /src
parent5d3dd7911e5b2b99e61409fe1d4c608eb958c96f (diff)
don't count a custom request as a request type of its own, it is merely
a modifier of another type
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 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 */