tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 9c604e2bbb10f7637316f2e0e226eb4669b7f4ac
parent 6c5a73f87abc6a8791e41e9d7f3728d67145001c
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 12 Dec 2017 09:21:12 -0500

Fix compilation: logfile_is_external() must accept const*

Diffstat:
Msrc/common/log.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;