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

svn:r2898
This commit is contained in:
Nick Mathewson 2004-11-16 00:08:56 +00:00
parent 014198e758
commit 89a456a1d4

View File

@ -693,7 +693,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) {
break;
numread += result;
}
return count;
return numread;
}
/*