mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Use raw_assert() in write_all().
This makes tor_log() finally non-circular.
This commit is contained in:
parent
7a2dce9006
commit
057d838409
@ -2102,7 +2102,7 @@ write_all(tor_socket_t fd, const char *buf, size_t count, int isSocket)
|
||||
{
|
||||
size_t written = 0;
|
||||
ssize_t result;
|
||||
tor_assert(count < SSIZE_MAX);
|
||||
raw_assert(count < SSIZE_MAX);
|
||||
|
||||
while (written != count) {
|
||||
if (isSocket)
|
||||
|
Loading…
Reference in New Issue
Block a user