mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -693,7 +693,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) {
|
||||
break;
|
||||
numread += result;
|
||||
}
|
||||
return count;
|
||||
return numread;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user