mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Open "debugit" in binary mode ("rb").
This commit is contained in:
parent
e356420123
commit
0bfa601a9f
@ -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…
Reference in New Issue
Block a user