summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index a67f47bee5..13824a20a7 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -250,8 +250,6 @@ int flush_buf(int s, buf_t *buf, int *buf_flushlen)
write_result = send(s, buf->mem, *buf_flushlen, 0);
if (write_result < 0) {
if(!ERRNO_IS_EAGAIN(tor_socket_errno(s))) { /* it's a real error */
- /* get a stack trace to find epipe bugs */
- tor_assert(tor_socket_errno(s) != EPIPE);
return -1;
}
log_fn(LOG_DEBUG,"write() would block, returning.");