about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-01-04 11:53:01 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-01-04 11:53:01 +0000
commit0cbe0770981ba4e4dab6b85f8f2155dfcccf228d (patch)
treef37e73e224f0954ae6e876aad91e3e9c8a5e921c
parent3f8dd2ecd3e7442492e3b45b54472da3a8700eb0 (diff)
downloadbtpd-0cbe0770981ba4e4dab6b85f8f2155dfcccf228d.tar.gz
btpd-0cbe0770981ba4e4dab6b85f8f2155dfcccf228d.zip
Don't write the rates to the log anymore.
-rw-r--r--btpd/net.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/btpd/net.c b/btpd/net.c
index ea3c2a5..cf42df5 100644
--- a/btpd/net.c
+++ b/btpd/net.c
@@ -517,9 +517,6 @@ compute_rates(void) {
     }
     m_rate_up += tot_up - compute_rate_sub(m_rate_up);
     m_rate_dwn += tot_dwn - compute_rate_sub(m_rate_dwn);
-    btpd_log(BTPD_L_BTPD, "rates: %7.2fkB/s, %7.2fkB/s.\n",
-        (double)m_rate_up / 20 / (1 << 10),
-        (double)m_rate_dwn / 20 / (1 << 10));
 }
 
 void