aboutsummaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-26 07:55:51 +0000
committerOmar Polo <op@omarpolo.com>2023-07-26 07:55:51 +0000
commitcba01a868748013f838c28ad8005c8377160c76f (patch)
treebe2f2316b9e3cc9a5a4daf34d6f936ca0016ef5a /logger.c
parenta84492b75fb7c7e1a9986f7f1f70384243406c3a (diff)
rename IMSG_LOG_TYPE to ACCESS
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index 5cdabca..4de68c0 100644
--- a/logger.c
+++ b/logger.c
@@ -74,7 +74,7 @@ static int
logger_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
{
switch (imsg->hdr.type) {
- case IMSG_LOG_TYPE:
+ case IMSG_LOG_ACCESS:
if (logfd != -1)
close(logfd);
logfd = -1;