diff options
author | Roger Dingledine <arma@torproject.org> | 2004-01-16 08:27:17 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-01-16 08:27:17 +0000 |
commit | 561c6236af574675e08106fdcea91d2b31b1a5cf (patch) | |
tree | 5b8208e08b4725ad51a8235f6350f98133c0034f | |
parent | 2125da817b28fa7e8f7c3ea6fde133d95c9b084c (diff) | |
download | tor-561c6236af574675e08106fdcea91d2b31b1a5cf.tar.gz tor-561c6236af574675e08106fdcea91d2b31b1a5cf.zip |
fix some errors in logs and comments
svn:r999
-rw-r--r-- | src/or/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/main.c b/src/or/main.c index 42031c5a31..374849c294 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -490,7 +490,7 @@ static int do_main_loop(void) { return -1; } if(options.DirPort) { - /* reload the fingerprint file */ + /* reload the approved-routers file */ char keydir[512]; sprintf(keydir,"%s/approved-routers", options.DataDirectory); log_fn(LOG_INFO,"Reloading approved fingerprints from %s...",keydir); @@ -600,7 +600,7 @@ static void dumpstats(int severity) { " %10lu relay\n" " (%10lu relayed)\n" " (%10lu delivered)\n" - " %10lud destroy", + " %10lu destroy", stats_n_padding_cells_processed, stats_n_create_cells_processed, stats_n_created_cells_processed, @@ -609,11 +609,11 @@ static void dumpstats(int severity) { stats_n_relay_cells_delivered, stats_n_destroy_cells_processed); if (stats_n_data_cells_packaged) - log(severity,"Average outgoing cell fullness: %2.3f%%", + log(severity,"Average packaged cell fullness: %2.3f%%", 100*(((double)stats_n_data_bytes_packaged) / (stats_n_data_cells_packaged*RELAY_PAYLOAD_SIZE)) ); if (stats_n_data_cells_received) - log(severity,"Average incoming cell fullness: %2.3f%%", + log(severity,"Average delivered cell fullness: %2.3f%%", 100*(((double)stats_n_data_bytes_received) / (stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) ); |