diff options
author | June McEnroe <june@causal.agency> | 2021-06-24 16:58:28 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-25 11:50:14 -0400 |
commit | fece6e6eb620068d352ceb0433c3d74d8c22f35b (patch) | |
tree | 1a325d74331aa6a55611cdf900a5b3376c2f556c /chat.h | |
parent | Encourage packagers to patch in text macros (diff) | |
download | catgirl-fece6e6eb620068d352ceb0433c3d74d8c22f35b.tar.gz catgirl-fece6e6eb620068d352ceb0433c3d74d8c22f35b.zip |
Keep log directory open, use mkdirat(2) and openat(2)
Diffstat (limited to '')
-rw-r--r-- | chat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |