summaryrefslogtreecommitdiff
path: root/usr.sbin/identd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/identd')
-rw-r--r--usr.sbin/identd/identd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c
index cd11699bf9a..6b605e797e8 100644
--- a/usr.sbin/identd/identd.c
+++ b/usr.sbin/identd/identd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.c,v 1.27 2015/01/16 06:40:17 deraadt Exp $ */
+/* $OpenBSD: identd.c,v 1.28 2015/03/27 07:16:38 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -489,6 +489,9 @@ parent_wr(int fd, short events, void *arg)
free(r->buf);
free(r);
+
+ if (!SIMPLEQ_EMPTY(&sc.parent.replies))
+ event_add(&proc_wr, NULL);
}
void