[tor-commits] [tor/maint-0.4.3] Run "make autostyle"

nickm at torproject.org nickm at torproject.org
Thu Apr 9 12:36:14 UTC 2020


commit e849881d3ad80e46bc4297d2cf9651f3f7d039cc
Author: teor <teor at torproject.org>
Date:   Thu Feb 13 09:28:21 2020 +1000

    Run "make autostyle"
    
    But only take the changes that were caused by the rest of the 33087
    branch.
    
    Part of 33087.
---
 src/lib/err/torerr.c | 2 +-
 src/lib/log/log.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/err/torerr.c b/src/lib/err/torerr.c
index c2dd862e1..2de75c0be 100644
--- a/src/lib/err/torerr.c
+++ b/src/lib/err/torerr.c
@@ -171,7 +171,7 @@ tor_log_flush_sigsafe_err_fds(void)
      * take any other action, if fsync() fails. */
     (void)fsync(fds[i]);
   }
-#endif
+#endif /* defined(HAVE_FSYNC) */
 }
 
 /**
diff --git a/src/lib/log/log.c b/src/lib/log/log.c
index cfb8f5b42..eb8151574 100644
--- a/src/lib/log/log.c
+++ b/src/lib/log/log.c
@@ -844,7 +844,7 @@ logs_flush_sigsafe(void)
       (void)fsync(victim->fd);
     }
   }
-#endif
+#endif /* defined(HAVE_FSYNC) */
 }
 
 /** Remove and free the log entry <b>victim</b> from the linked-list





More information about the tor-commits mailing list