From fece6e6eb620068d352ceb0433c3d74d8c22f35b Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 24 Jun 2021 16:58:28 -0400 Subject: Keep log directory open, use mkdirat(2) and openat(2) --- chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 74c4abf..a4c7670 100644 --- a/chat.h +++ b/chat.h @@ -394,7 +394,7 @@ struct Filter filterAdd(enum Heat heat, const char *pattern); bool filterRemove(struct Filter filter); enum Heat filterCheck(enum Heat heat, uint id, const struct Message *msg); -extern bool logEnable; +void logOpen(void); void logFormat(uint id, const time_t *time, const char *format, ...) __attribute__((format(printf, 3, 4))); void logClose(void); -- cgit 1.4.0