From: Roger Dingledine Date: Fri, 7 Sep 2012 07:04:15 +0000 (-0400) Subject: a debugging log line that just helped me X-Git-Tag: tor-0.2.4.2-alpha~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9446efc0dff9f495cd5fe51aba3952a33509c122;p=thirdparty%2Ftor.git a debugging log line that just helped me --- diff --git a/src/or/config.c b/src/or/config.c index 2403db686e..7dd4539d4b 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")) {