mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +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
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) {
|
|||
break;
|
||||
numread += result;
|
||||
}
|
||||
return count;
|
||||
return numread;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue