commit 844b37325f8bb51d3f034fba6b4d7b3808659b9e from: claudio date: Thu Nov 21 13:17:56 2024 UTC Use imsgbuf_clear() where appropriate instead of msgbuf_clear(). OK tb@ commit - 59aee4e5b492bad8dcaaaad9dd710b9619a07a50 commit + 844b37325f8bb51d3f034fba6b4d7b3808659b9e blob - 9ed1af5902217dc08b2a36d90d9b2dad17fa6758 blob + 55976ae5618a673e9341a9673f3d5b30c7d900d9 --- control.c +++ control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.18 2024/11/21 13:17:02 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.19 2024/11/21 13:17:57 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -198,7 +198,7 @@ control_close(int fd, struct control_sock *cs) return; } - msgbuf_clear(&c->iev.ibuf.w); + imsgbuf_clear(&c->iev.ibuf); TAILQ_REMOVE(&ctl_conns, c, entry); event_del(&c->iev.ev);