aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-12 21:12:32 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-12 21:12:32 +0100
commit5fac97b40ef456e1e30eebeb0449df82f8367575 (patch)
tree41bdd5e34ead125b84125c053c033b299ded3f43
parenta6123eafba9481f8ce47a54cccd86b4ac73b6624 (diff)
downloadnldev-5fac97b40ef456e1e30eebeb0449df82f8367575.tar.bz2
nldev-5fac97b40ef456e1e30eebeb0449df82f8367575.tar.xz
nldev: don't do defensive programming
-rw-r--r--nldev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nldev.c b/nldev.c
index 8768ec4..660f260 100644
--- a/nldev.c
+++ b/nldev.c
@@ -186,7 +186,6 @@ main(int argc, char *argv[])
initsignals();
- buf[sizeof(buf)-1] = '\0';
while (poll(fds, 2, -1) > -1) {
if (fds[1].revents & POLLERR) {
dbg("handler exited");