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:
7cdd645
)
make sure -d is treated as a POST request and thus should fail if mixed
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 25 Feb 2002 09:08:28 +0000
(09:08 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 25 Feb 2002 09:08:28 +0000
(09:08 +0000)
with -I for example
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
b6a8115
..
3cfd4a9
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1176,8
+1176,8
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
config->postfields=postdata;
}
-
/*
if(SetHTTPrequest(HTTPREQ_SIMPLEPOST, &config->httpreq))
- return PARAM_BAD_USE;
*/
+ if(SetHTTPrequest(HTTPREQ_SIMPLEPOST, &config->httpreq))
+ return PARAM_BAD_USE;
break;
case 'D':
/* dump-header to given file name */