diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-31 20:31:36 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-31 20:31:36 +0000 |
commit | 42e8ce830995324e664c15b462fbb56a51b404bc (patch) | |
tree | 673d8d1db32f6bb8b7aa3a030628345a53c0b6a3 /usr.sbin | |
parent | 21bbe0c9dab80460c4b17c0ec48ba91dea34a953 (diff) |
Remove redundant imsg_event_add calls; ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/dvmrpd/control.c | 3 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/dvmrpd.c | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/dvmrpe.c | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/rde.c | 3 |
4 files changed, 4 insertions, 10 deletions
diff --git a/usr.sbin/dvmrpd/control.c b/usr.sbin/dvmrpd/control.c index 5ed8a7ea6fc..f416ce0222d 100644 --- a/usr.sbin/dvmrpd/control.c +++ b/usr.sbin/dvmrpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.6 2009/05/31 17:13:04 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.7 2009/05/31 20:31:35 jacekm Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -209,7 +209,6 @@ control_dispatch_imsg(int fd, short event, void *bula) control_close(fd); return; } - imsg_event_add(&c->ibuf); } for (;;) { diff --git a/usr.sbin/dvmrpd/dvmrpd.c b/usr.sbin/dvmrpd/dvmrpd.c index 5b416a010ac..0356ed1193d 100644 --- a/usr.sbin/dvmrpd/dvmrpd.c +++ b/usr.sbin/dvmrpd/dvmrpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpd.c,v 1.7 2009/05/31 17:13:04 claudio Exp $ */ +/* $OpenBSD: dvmrpd.c,v 1.8 2009/05/31 20:31:35 jacekm Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -363,7 +363,6 @@ main_dispatch_dvmrpe(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { @@ -411,7 +410,6 @@ main_dispatch_rde(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { diff --git a/usr.sbin/dvmrpd/dvmrpe.c b/usr.sbin/dvmrpd/dvmrpe.c index 4179263bc51..00ad87565aa 100644 --- a/usr.sbin/dvmrpd/dvmrpe.c +++ b/usr.sbin/dvmrpd/dvmrpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpe.c,v 1.5 2009/05/31 17:13:04 claudio Exp $ */ +/* $OpenBSD: dvmrpe.c,v 1.6 2009/05/31 20:31:35 jacekm Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -242,7 +242,6 @@ dvmrpe_dispatch_main(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { @@ -282,7 +281,6 @@ dvmrpe_dispatch_rde(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { diff --git a/usr.sbin/dvmrpd/rde.c b/usr.sbin/dvmrpd/rde.c index abf07d7e363..8dfa474c92a 100644 --- a/usr.sbin/dvmrpd/rde.c +++ b/usr.sbin/dvmrpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.17 2009/05/31 17:13:04 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.18 2009/05/31 20:31:35 jacekm Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -207,7 +207,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { |