diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 13:17:59 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 13:17:59 +0000 |
commit | 4efad393769386dddf5775e5943647ffd6ef04e0 (patch) | |
tree | aff4368f8771b71684bbc5c079be47a6bea32b51 /sbin/iked | |
parent | caba869c8447fc7ef9f32581e1d02262e51ec18a (diff) |
Use imsgbuf_clear() where appropriate instead of msgbuf_clear().
OK tb@
Diffstat (limited to 'sbin/iked')
-rw-r--r-- | sbin/iked/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/control.c b/sbin/iked/control.c index b59e4d8450c..84142055a9d 100644 --- a/sbin/iked/control.c +++ b/sbin/iked/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.42 2024/11/21 13:17:01 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.43 2024/11/21 13:17:56 claudio Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -231,7 +231,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); |