projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d5401
)
made -G set request type
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Mar 2002 14:58:35 +0000
(14:58 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Mar 2002 14:58:35 +0000
(14:58 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 4a3f487cd59895019df8e70de7de2066ee279078..5ede3fac0b503d461956c313fd75e3a6c9bb4bf2 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1344,6
+1344,8
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
case 'G': /* HTTP GET */
config->use_httpget = TRUE;
+ if(SetHTTPrequest(HTTPREQ_GET, &config->httpreq))
+ return PARAM_BAD_USE;
break;
case 'h': /* h for help */