mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
No need to end a log message with newline.
This commit is contained in:
parent
05901f2c6d
commit
97620cf18f
1 changed files with 2 additions and 2 deletions
|
@ -954,7 +954,7 @@ consdiff_apply_diff(smartlist_t *cons1, smartlist_t *diff,
|
||||||
digests1->d[DIGEST_SHA256], DIGEST256_LEN);
|
digests1->d[DIGEST_SHA256], DIGEST256_LEN);
|
||||||
base16_encode(e_hex_digest1, HEX_DIGEST256_LEN+1,
|
base16_encode(e_hex_digest1, HEX_DIGEST256_LEN+1,
|
||||||
e_cons1_hash, DIGEST256_LEN);
|
e_cons1_hash, DIGEST256_LEN);
|
||||||
log_warn(LD_CONSDIFF, "Expected: %s Found: %s\n",
|
log_warn(LD_CONSDIFF, "Expected: %s; found: %s",
|
||||||
hex_digest1, e_hex_digest1);
|
hex_digest1, e_hex_digest1);
|
||||||
goto error_cleanup;
|
goto error_cleanup;
|
||||||
}
|
}
|
||||||
|
@ -999,7 +999,7 @@ consdiff_apply_diff(smartlist_t *cons1, smartlist_t *diff,
|
||||||
cons2_digests.d[DIGEST_SHA256], DIGEST256_LEN);
|
cons2_digests.d[DIGEST_SHA256], DIGEST256_LEN);
|
||||||
base16_encode(e_hex_digest2, HEX_DIGEST256_LEN+1,
|
base16_encode(e_hex_digest2, HEX_DIGEST256_LEN+1,
|
||||||
e_cons2_hash, DIGEST256_LEN);
|
e_cons2_hash, DIGEST256_LEN);
|
||||||
log_warn(LD_CONSDIFF, "Expected: %s Found: %s\n",
|
log_warn(LD_CONSDIFF, "Expected: %s; found: %s",
|
||||||
hex_digest2, e_hex_digest2);
|
hex_digest2, e_hex_digest2);
|
||||||
goto error_cleanup;
|
goto error_cleanup;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue