summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index cee6a4a23c..4fd07fabc5 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -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)