From 1fb35acd1c757ac4086bf17c55f2e1f6f7bc960b Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 12 Mar 2008 17:48:28 +0000 Subject: remove noisy warning message ok claudio@ --- usr.sbin/snmpd/ber.c | 4 +--- 1 file changed, 1 insertion(+), 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 @@ -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; } -- cgit v1.2.3