Fix compilation: logfile_is_external() must accept const*

This commit is contained in:
Nick Mathewson 2017-12-12 09:21:12 -05:00
parent 6c5a73f87a
commit 9c604e2bbb

View File

@ -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;