aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-09-07 03:04:15 -0400
committerRoger Dingledine <arma@torproject.org>2012-09-07 03:04:15 -0400
commit9446efc0dff9f495cd5fe51aba3952a33509c122 (patch)
treee70f9c034c2d8031baf10f5c43069f08ae7dfdd2
parentf4cf279eb58f5d0a61f603bd961b58e51cd82bc3 (diff)
downloadtor-9446efc0dff9f495cd5fe51aba3952a33509c122.tar
tor-9446efc0dff9f495cd5fe51aba3952a33509c122.tar.gz
a debugging log line that just helped me
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 2403db686..7dd4539d4 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")) {