[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] a debugging log line that just helped me



commit 9446efc0dff9f495cd5fe51aba3952a33509c122
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Fri Sep 7 03:04:15 2012 -0400

    a debugging log line that just helped me
---
 src/or/config.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index 2403db6..7dd4539 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5514,8 +5514,8 @@ parse_dir_server_line(const char *line, dirinfo_type_t required_type,
 
   fingerprint = smartlist_join_strings(items, "", 0, NULL);
   if (strlen(fingerprint) != HEX_DIGEST_LEN) {
-    log_warn(LD_CONFIG, "Key digest for DirServer is wrong length %d.",
-             (int)strlen(fingerprint));
+    log_warn(LD_CONFIG, "Key digest '%s' for DirServer is wrong length %d.",
+             fingerprint, (int)strlen(fingerprint));
     goto err;
   }
   if (!strcmp(fingerprint, "E623F7625FBE0C87820F11EC5F6D5377ED816294")) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits