]> granicus.if.org Git - curl/commitdiff
don't count a custom request as a request type of its own, it is merely
authorDaniel Stenberg <daniel@haxx.se>
Mon, 28 Jan 2002 19:22:40 +0000 (19:22 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Jan 2002 19:22:40 +0000 (19:22 +0000)
a modifier of another type

src/main.c

index 696f7684f2162d424de98a5b57f2808d65579959..b6a8115544c5d6ebfb4b25b184565e5e29a5ef1e 100644 (file)
@@ -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 */