diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-09-18 08:29:10 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-09-18 08:29:10 +0000 |
commit | dc2928ca406d1c1a1a8298759657a2492ff99be2 (patch) | |
tree | 4467b5f01f1b60b3ed9cb428cde37a22fdaf5c9a /usr.sbin/snmpd/control.c | |
parent | dd55ef6ccbdca47c30e6113568af799083af3ec1 (diff) |
knf
Diffstat (limited to 'usr.sbin/snmpd/control.c')
-rw-r--r-- | usr.sbin/snmpd/control.c | 11 |
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 |