[tor-commits] [tor/maint-0.2.4] Fix typos in a few log messages

nickm at torproject.org nickm at torproject.org
Mon Mar 11 02:59:37 UTC 2013


commit 8b4195f0217d24bae6dfac944b469dc05b30bcd6
Author: Benjamin Kerensa <bkerensa at ubuntu.com>
Date:   Sun Mar 10 18:45:23 2013 -0700

    Fix typos in a few log messages
---
 src/or/routerset.c  |    2 +-
 src/or/transports.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/or/routerset.c b/src/or/routerset.c
index 1eca5b6..2e41f7f 100644
--- a/src/or/routerset.c
+++ b/src/or/routerset.c
@@ -141,7 +141,7 @@ routerset_parse(routerset_t *target, const char *s, const char *description)
         log_debug(LD_CONFIG, "Adding address %s to %s", nick, description);
         smartlist_add(target->policies, p);
       } else {
-        log_warn(LD_CONFIG, "Entry '%s' in %s is misformed.", nick,
+        log_warn(LD_CONFIG, "Entry '%s' in %s is malformed.", nick,
                  description);
         r = -1;
         tor_free(nick);
diff --git a/src/or/transports.c b/src/or/transports.c
index 647b293..945d422 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -339,12 +339,12 @@ transport_add_from_config(const tor_addr_t *addr, uint16_t port,
     transport_free(t);
     return -1;
   case 1:
-    log_info(LD_GENERAL, "Succesfully registered transport %s at %s.",
+    log_info(LD_GENERAL, "Successfully registered transport %s at %s.",
              t->name, fmt_addrport(&t->addr, t->port));
      transport_free(t); /* falling */
      return 0;
   case 0:
-    log_info(LD_GENERAL, "Succesfully registered transport %s at %s.",
+    log_info(LD_GENERAL, "Successfully registered transport %s at %s.",
              t->name, fmt_addrport(&t->addr, t->port));
     return 0;
   }
@@ -676,10 +676,10 @@ register_client_proxy(const managed_proxy_t *mp)
       transport_free(transport_tmp);
       break;
     case 0:
-      log_info(LD_GENERAL, "Succesfully registered transport %s", t->name);
+      log_info(LD_GENERAL, "Successfully registered transport %s", t->name);
       break;
     case 1:
-      log_info(LD_GENERAL, "Succesfully registered transport %s", t->name);
+      log_info(LD_GENERAL, "Successfully registered transport %s", t->name);
       transport_free(transport_tmp);
       break;
     }



More information about the tor-commits mailing list