summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/ber.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/snmpd/ber.c')
-rw-r--r--usr.sbin/snmpd/ber.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/ber.c b/usr.sbin/snmpd/ber.c
index 2529c24f102..ca77260f3c8 100644
--- a/usr.sbin/snmpd/ber.c
+++ b/usr.sbin/snmpd/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.10 2008/03/12 17:41:38 reyk Exp $ */
+/* $OpenBSD: ber.c,v 1.11 2008/03/12 17:48:27 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -1166,8 +1166,6 @@ ber_getc(struct ber *b, u_char *c)
r = ber_readbuf(b, c, 1);
else
r = read(b->fd, c, 1);
- if (r == -1)
- warn("ber_getc");
return r;
}