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:
541e5a3
)
fopen(... "rb") when reading what to post, so that binary posting works
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 27 Mar 2002 22:53:06 +0000
(22:53 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 27 Mar 2002 22:53:06 +0000
(22:53 +0000)
on Windows!
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 5ede3fac0b503d461956c313fd75e3a6c9bb4bf2..a7c516be8948080d434280fdb796f7b5779bfd3b 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1225,7
+1225,7
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
if(strequal("-", nextarg))
file = stdin;
else
- file = fopen(nextarg, "r");
+ file = fopen(nextarg, "r
b
");
if(subletter == 'b') /* forced binary */
postdata = file2memory(file, &config->postfieldsize);