[tor-commits] [tor/master] Run "make autostyle"
dgoulet at torproject.org
dgoulet at torproject.org
Mon Mar 9 14:43:48 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