mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +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:
parent
014198e758
commit
89a456a1d4
@ -693,7 +693,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) {
|
||||
break;
|
||||
numread += result;
|
||||
}
|
||||
return count;
|
||||
return numread;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user