diff options
-rw-r--r-- | src/core/mainloop/connection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c index 3c8527dd53..218873ae66 100644 --- a/src/core/mainloop/connection.c +++ b/src/core/mainloop/connection.c @@ -3687,9 +3687,6 @@ connection_buf_read_from_socket(connection_t *conn, ssize_t *max_to_read, /* Do not allow inbuf to grow past INT_MAX - 1. */ const ssize_t maximum = INT_MAX - 1 - buf_datalen(conn->inbuf); if (at_most > maximum) { - log_debug(LD_NET, "%d: inbuf_datalen=%"TOR_PRIuSZ", adding %" - TOR_PRIdSZ" might overflow.", - (int)conn->s, buf_datalen(conn->inbuf), at_most); at_most = maximum; } |