diff options
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 36a928219..11852a973 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -371,7 +371,7 @@ int connection_read_to_buf(connection_t *conn) { if(connection_speaks_cells(conn)) { at_most = 30*(CELL_NETWORK_SIZE); } else { - at_most = 30*(CELL_PAYLOAD_SIZE - RELAY_HEADER_SIZE); + at_most = 30*(RELAY_PAYLOAD_SIZE); } if(at_most > global_read_bucket) |