Commit 89a456a1 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Fix a fun bug in read_all that was corrupting config files on windows, and...

Fix a fun bug in read_all that was corrupting config files on windows, and probably doing other bad stuff too.


svn:r2898
parent 014198e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -693,7 +693,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) {
      break;
    numread += result;
  }
  return count;
  return numread;
}

/*