[tor-commits] [tor/release-0.2.2] Fix typo, spotted by tmpname0901. Thanks!

arma at torproject.org arma at torproject.org
Sat Oct 29 20:26:10 UTC 2011


commit f6b1dc2805ce23d4f7fddcf2714b13f718d20038
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Fri Oct 28 11:19:16 2011 +0200

    Fix typo, spotted by tmpname0901. Thanks!
---
 changes/bug4331    |    4 ++++
 src/or/hibernate.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/changes/bug4331 b/changes/bug4331
new file mode 100644
index 0000000..011238a
--- /dev/null
+++ b/changes/bug4331
@@ -0,0 +1,4 @@
+  o Trivial fixes:
+    - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
+      bugfix on 0.2.2.23-alpha; found by "tmpname0901".
+
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index aebce4c..2f7170f 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -943,7 +943,7 @@ consider_hibernation(time_t now)
     if (hibernate_soft_limit_reached()) {
       log_notice(LD_ACCT,
                  "Bandwidth soft limit reached; commencing hibernation. "
-                 "No new conncetions will be accepted");
+                 "No new connections will be accepted");
       hibernate_begin(HIBERNATE_STATE_LOWBANDWIDTH, now);
     } else if (accounting_enabled && now < interval_wakeup_time) {
       format_local_iso_time(buf,interval_wakeup_time);





More information about the tor-commits mailing list