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 b86bb7f58d
commit bc645dec19
+1 -1
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;
}
/*