aboutsummaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
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;