aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/buffers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 9b7e33c51..db740fbce 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1339,9 +1339,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state,
if (buf->datalen > buf->highwater)
buf->highwater = buf->datalen;
buf_total_used += old_avail - avail;
- if (over)
- return 0;
}
+ return 0;
}
/** Log an error and exit if <b>buf</b> is corrupted.