summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/snmpd/control.c')
-rw-r--r--usr.sbin/snmpd/control.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/snmpd/control.c b/usr.sbin/snmpd/control.c
index 5352e3a98eb..d28a772c430 100644
--- a/usr.sbin/snmpd/control.c
+++ b/usr.sbin/snmpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.15 2012/04/11 08:33:53 deraadt Exp $ */
+/* $OpenBSD: control.c,v 1.16 2012/09/18 08:29:09 reyk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -279,8 +279,8 @@ control_dispatch_imsg(int fd, short event, void *arg)
if (c->flags & CTL_CONN_NOTIFY) {
log_debug("control_dispatch_imsg: "
"client requested notify more than once");
- imsg_compose(&c->iev.ibuf, IMSG_CTL_FAIL, 0, 0, -1,
- NULL, 0);
+ imsg_compose(&c->iev.ibuf, IMSG_CTL_FAIL,
+ 0, 0, -1, NULL, 0);
break;
}
c->flags |= CTL_CONN_NOTIFY;
@@ -317,8 +317,9 @@ control_imsg_forward(struct imsg *imsg)
TAILQ_FOREACH(c, &ctl_conns, entry)
if (c->flags & CTL_CONN_NOTIFY)
- imsg_compose(&c->iev.ibuf, imsg->hdr.type, 0, imsg->hdr.pid,
- -1, imsg->data, imsg->hdr.len - IMSG_HEADER_SIZE);
+ imsg_compose(&c->iev.ibuf, imsg->hdr.type, 0,
+ imsg->hdr.pid, -1, imsg->data,
+ imsg->hdr.len - IMSG_HEADER_SIZE);
}
void