]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
No need to end a log message with newline.
authorNick Mathewson <nickm@torproject.org>
Tue, 7 Mar 2017 15:48:03 +0000 (10:48 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 16 Mar 2017 18:38:28 +0000 (14:38 -0400)
src/or/consdiff.c

index 52e1eb98a116744e4a1611f28f70684f542dc541..65e15f79ee7b8d14336158043a143a4a1d504760 100644 (file)
@@ -954,7 +954,7 @@ consdiff_apply_diff(smartlist_t *cons1, smartlist_t *diff,
         digests1->d[DIGEST_SHA256], DIGEST256_LEN);
     base16_encode(e_hex_digest1, HEX_DIGEST256_LEN+1,
         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);
     goto error_cleanup;
   }
@@ -999,7 +999,7 @@ consdiff_apply_diff(smartlist_t *cons1, smartlist_t *diff,
         cons2_digests.d[DIGEST_SHA256], DIGEST256_LEN);
     base16_encode(e_hex_digest2, HEX_DIGEST256_LEN+1,
         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);
     goto error_cleanup;
   }