summaryrefslogtreecommitdiff
path: root/mib/mib-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mib/mib-parser.c')
-rw-r--r--mib/mib-parser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mib/mib-parser.c b/mib/mib-parser.c
index 7d17973..9e36442 100644
--- a/mib/mib-parser.c
+++ b/mib/mib-parser.c
@@ -176,7 +176,6 @@ mib_init()
add_mibdir(mib_directory);
read_all_mibs();
- warnx("loaded all MIB files");
initialized = 1;
}
@@ -258,10 +257,8 @@ mib_get_node(struct asn_oid* oid)
void
mib_uninit()
{
- if(initialized) {
+ if(initialized)
unload_all_mibs();
- warnx("unloaded all MIB files");
- }
initialized = 0;
}