summaryrefslogtreecommitdiff
path: root/usr.sbin/identd/identd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/identd/identd.c')
-rw-r--r--usr.sbin/identd/identd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c
index 0cfef24baa6..6e628e8df34 100644
--- a/usr.sbin/identd/identd.c
+++ b/usr.sbin/identd/identd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.c,v 1.23 2013/11/21 03:09:07 dlg Exp $ */
+/* $OpenBSD: identd.c,v 1.24 2014/01/07 00:11:11 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -395,7 +395,7 @@ parent_rd(int fd, short events, void *arg)
goto done;
}
- r->buflen = n;
+ r->buflen = n + 1;
done:
SIMPLEQ_INSERT_TAIL(&sc.parent.replies, r, entry);