[tor-commits] [tor/master] Remove the extra whitespace in the lines_eq() if statement in consdiff_gen_diff()

nickm at torproject.org nickm at torproject.org
Sat Nov 16 20:29:22 UTC 2019


commit 4874b0006506d802718ce232f0f4694588e319d0
Author: Neel Chauhan <neel at neelc.org>
Date:   Fri Nov 15 14:56:47 2019 -0500

    Remove the extra whitespace in the lines_eq() if statement in consdiff_gen_diff()
---
 src/feature/dircommon/consdiff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/dircommon/consdiff.c b/src/feature/dircommon/consdiff.c
index fbfa9e0c0..dd8e986b5 100644
--- a/src/feature/dircommon/consdiff.c
+++ b/src/feature/dircommon/consdiff.c
@@ -1050,7 +1050,7 @@ consdiff_gen_diff(const smartlist_t *cons1,
   if (smartlist_len(cons2) == smartlist_len(ed_cons2)) {
     SMARTLIST_FOREACH_BEGIN(cons2, const cdline_t *, line1) {
       const cdline_t *line2 = smartlist_get(ed_cons2, line1_sl_idx);
-      if (! lines_eq(line1, line2) ) {
+      if (!lines_eq(line1, line2)) {
         cons2_eq = 0;
         break;
       }





More information about the tor-commits mailing list