Commit 0bfa601a authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Open "debugit" in binary mode ("rb").
parent e3564201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */