Skip to content

Commit

Permalink
Merge remote-tracking branch 'tor-gitlab/mr/591'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Jul 21, 2022
2 parents 1ecd7c5 + 0eb2142 commit 0bd2065
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changes/log-quotes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
o Minor bugfixes (logging):
- Avoid ""double-quoting"" strings in several log messages.
Fixes bug 22723; bugfix on 0.1.2.2-alpha.
2 changes: 1 addition & 1 deletion src/feature/dirauth/process_descs.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ add_rsa_fingerprint_to_dir(const char *fp, authdir_config_t *list,
tor_strstrip(fingerprint, " ");
if (base16_decode(d, DIGEST_LEN,
fingerprint, strlen(fingerprint)) != DIGEST_LEN) {
log_warn(LD_DIRSERV, "Couldn't decode fingerprint \"%s\"",
log_warn(LD_DIRSERV, "Couldn't decode fingerprint %s",
escaped(fp));
tor_free(fingerprint);
return -1;
Expand Down
4 changes: 2 additions & 2 deletions src/feature/relay/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,11 +768,11 @@ dns_resolve_impl,(edge_connection_t *exitconn, int is_resolve,

if (!is_reverse || !is_resolve) {
if (!is_reverse)
log_info(LD_EXIT, "Bad .in-addr.arpa address \"%s\"; sending error.",
log_info(LD_EXIT, "Bad .in-addr.arpa address %s; sending error.",
escaped_safe_str(exitconn->base_.address));
else if (!is_resolve)
log_info(LD_EXIT,
"Attempt to connect to a .in-addr.arpa address \"%s\"; "
"Attempt to connect to a .in-addr.arpa address %s; "
"sending error.",
escaped_safe_str(exitconn->base_.address));

Expand Down

0 comments on commit 0bd2065

Please sign in to comment.