I was so pleased to see all those manpage updates, I just had to read some..
One nit: From mib_api(3)

       void print_description(const oid *objid, size_t objidlen);

whereas it (and a few other functions like it) have another int width
parameter. I would provide patches to man, but I don't really understand
what a subidentifier is..

 * @param width     Number of subidentifiers.


.. and maybe this might be useful:

Cheers,

Patrick

Index: mib.c
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/snmplib/mib.c,v
retrieving revision 5.73
diff -u -r5.73 mib.c
--- mib.c       7 Jul 2004 00:15:24 -0000       5.73
+++ mib.c       24 Sep 2004 16:34:00 -0000
@@ -4442,6 +4442,9 @@
     char            tmpbuf[128];
     const char     *cp;
 
+    if (tp == NULL)
+        return 0;
+
     if (tp->type <= TYPE_SIMPLE_LAST)
         cp = " OBJECT-TYPE";
     else


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to