aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/log.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-22 09:40:31 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:40:31 -0400
commit931a5db2a7ded73ddd72cb6646b506d49782f3ec (patch)
tree2f7d2e4850f2e8c698fdc53bded13c23704034cf /src/lib/log/log.h
parentb2d487ae2249a307cd23255dbb1a22241eefd6ef (diff)
downloadtor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.tar.gz
tor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.zip
Re-run make autostyle.
Diffstat (limited to 'src/lib/log/log.h')
-rw-r--r--src/lib/log/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h
index 19cb9484d7..5cf8a36cf7 100644
--- a/src/lib/log/log.h
+++ b/src/lib/log/log.h
@@ -27,8 +27,8 @@
#error "Your syslog.h thinks high numbers are more important. " \
"We aren't prepared to deal with that."
#endif
-#endif
-#else /* !(defined(HAVE_SYSLOG_H)) */
+#endif /* LOG_DEBUG < LOG_ERR */
+#else /* !defined(HAVE_SYSLOG_H) */
/* Note: Syslog's logging code refers to priorities, with 0 being the most
* important. Thus, all our comparisons needed to be reversed when we added
* syslog support.
@@ -310,7 +310,7 @@ MOCK_DECL(STATIC void, logv, (int severity, log_domain_mask_t domain,
va_list ap) CHECK_PRINTF(5,0));
MOCK_DECL(STATIC void, add_stream_log_impl,(
const log_severity_list_t *severity, const char *name, int fd));
-#endif
+#endif /* defined(LOG_PRIVATE) */
#if defined(LOG_PRIVATE) || defined(TOR_UNIT_TESTS)
/** Given a severity, yields an index into log_severity_list_t.masks to use