[tor-commits] [tor/master] fix punctuation in logs

arma at torproject.org arma at torproject.org
Thu Sep 6 05:36:21 UTC 2012


commit 00120544a4bfa9c26d2c8a336389d33b8b3642c2
Author: Roger Dingledine <arma at torproject.org>
Date:   Thu Sep 6 01:35:05 2012 -0400

    fix punctuation in logs
---
 src/or/dirserv.c |    2 +-
 src/or/router.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 086db03..7f46906 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -727,7 +727,7 @@ dirserv_add_descriptor(routerinfo_t *ri, const char **msg, const char *source)
                "MAX_DESCRIPTOR_UPLOAD_SIZE (%d) constant is too low.",
                ri->nickname, source, (int)ri->cache_info.signed_descriptor_len,
                MAX_DESCRIPTOR_UPLOAD_SIZE);
-    *msg = "Router descriptor was too large";
+    *msg = "Router descriptor was too large.";
     control_event_or_authdir_new_descriptor("REJECTED",
                ri->cache_info.signed_descriptor_body,
                ri->cache_info.signed_descriptor_len, *msg);
diff --git a/src/or/router.c b/src/or/router.c
index 2cb0e26..9a3ef9d 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -672,7 +672,7 @@ init_keys(void)
            * we don't really need new keys yet so the descriptor doesn't
            * change and the old one is still fresh. */
           log_info(LD_GENERAL, "Couldn't add own descriptor to directory "
-                   "after key init: %s. This is usually not a problem.",
+                   "after key init: %s This is usually not a problem.",
                    m?m:"<unknown error>");
         }
       }



More information about the tor-commits mailing list