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

[tor-commits] [tor/master] Fix compilation: logfile_is_external() must accept const*



commit 9c604e2bbb10f7637316f2e0e226eb4669b7f4ac
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Dec 12 09:21:12 2017 -0500

    Fix compilation: logfile_is_external() must accept const*
---
 src/common/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/log.c b/src/common/log.c
index 996840a08..ac6d07a92 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -437,7 +437,7 @@ pending_log_message_free_(pending_log_message_t *msg)
  * handled externally via the system log API, the Android logging API, or is an
  * external callback function. */
 static inline int
-logfile_is_external(logfile_t *lf)
+logfile_is_external(const logfile_t *lf)
 {
   raw_assert(lf);
   return lf->is_syslog || lf->is_android || lf->callback;

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