summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r--usr.sbin/ldapd/imsgev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldapd/imsgev.c b/usr.sbin/ldapd/imsgev.c
index 7a4805e9933..e26c26d6e86 100644
--- a/usr.sbin/ldapd/imsgev.c
+++ b/usr.sbin/ldapd/imsgev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsgev.c,v 1.9 2024/11/21 13:17:02 claudio Exp $ */
+/* $OpenBSD: imsgev.c,v 1.10 2024/11/21 13:17:57 claudio Exp $ */
/*
* Copyright (c) 2009 Eric Faurot <eric@openbsd.org>
@@ -74,7 +74,7 @@ void
imsgev_clear(struct imsgev *iev)
{
event_del(&iev->ev);
- msgbuf_clear(&iev->ibuf.w);
+ imsgbuf_clear(&iev->ibuf);
close(iev->ibuf.fd);
}