mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Fix compilation: logfile_is_external() must accept const*
This commit is contained in:
parent
6c5a73f87a
commit
9c604e2bbb
@ -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
|
* handled externally via the system log API, the Android logging API, or is an
|
||||||
* external callback function. */
|
* external callback function. */
|
||||||
static inline int
|
static inline int
|
||||||
logfile_is_external(logfile_t *lf)
|
logfile_is_external(const logfile_t *lf)
|
||||||
{
|
{
|
||||||
raw_assert(lf);
|
raw_assert(lf);
|
||||||
return lf->is_syslog || lf->is_android || lf->callback;
|
return lf->is_syslog || lf->is_android || lf->callback;
|
||||||
|
Loading…
Reference in New Issue
Block a user