diff options
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index c4bd560d9..b00b6df68 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -727,7 +727,7 @@ static void dumpstats(int severity) { log(severity,"Average outgoing cell fullness: %2.3f%%", 100*(((double)stats_n_data_bytes_packaged) / (stats_n_data_cells_packaged*(CELL_PAYLOAD_SIZE-RELAY_HEADER_SIZE))) ); - if (stats_n_data_cells_packaged) + if (stats_n_data_cells_received) log(severity,"Average incoming cell fullness: %2.3f%%", 100*(((double)stats_n_data_bytes_received) / (stats_n_data_cells_received*(CELL_PAYLOAD_SIZE-RELAY_HEADER_SIZE))) ); |