[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] No need to end a log message with newline.



commit 97620cf18ff510deec07cd98b46cfa7a3f859900
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Mar 7 10:48:03 2017 -0500

    No need to end a log message with newline.
---
 src/or/consdiff.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/consdiff.c b/src/or/consdiff.c
index 52e1eb9..65e15f7 100644
--- a/src/or/consdiff.c
+++ b/src/or/consdiff.c
@@ -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;
   }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits