mirror of
https://github.com/curl/curl.git
synced 2026-04-27 22:52:12 +03:00
Open "debugit" in binary mode ("rb").
This commit is contained in:
parent
e356420123
commit
0bfa601a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ int main(void)
|
|||
double speed_upload, total_time;
|
||||
FILE *fd;
|
||||
|
||||
fd = fopen("debugit", "r"); /* open file to upload */
|
||||
fd = fopen("debugit", "rb"); /* open file to upload */
|
||||
if(!fd) {
|
||||
|
||||
return 1; /* can't continue */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue