From: Gisle Vanem Date: Sat, 16 Oct 2004 13:17:15 +0000 (+0000) Subject: Open "debugit" in binary mode ("rb"). X-Git-Tag: curl-7_12_2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bfa601a9f074f56eabfe71dda265f3f594dae84;p=thirdparty%2Fcurl.git Open "debugit" in binary mode ("rb"). --- diff --git a/docs/examples/fileupload.c b/docs/examples/fileupload.c index 315c2a1b19..455cb0ecf7 100644 --- a/docs/examples/fileupload.c +++ b/docs/examples/fileupload.c @@ -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 */