diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-12 09:21:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-12 09:21:12 -0500 |
commit | 9c604e2bbb10f7637316f2e0e226eb4669b7f4ac (patch) | |
tree | f4117ee94be17e5319dd680fd845abfffd518f2e | |
parent | 6c5a73f87abc6a8791e41e9d7f3728d67145001c (diff) | |
download | tor-9c604e2bbb10f7637316f2e0e226eb4669b7f4ac.tar.gz tor-9c604e2bbb10f7637316f2e0e226eb4669b7f4ac.zip |
Fix compilation: logfile_is_external() must accept const*
-rw-r--r-- | src/common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c index 996840a080..ac6d07a929 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; |