>>>>> On Wed, 10 Feb 2010 07:49:57 +0100, Magnus Fromreide >>>>> <ma...@lysator.liu.se> said:
MF> We do not really need the <oidName>_len variables as it is enough to MF> add the length to the declarations and then use OID_LENGTH. That's very much a style issue... Some argue that it looks cleaner to use _len variables, others don't mind seeing the OID_LENGTH() invocations. I actually went through the same thought process when I created the variable. But I ended up leaving it "like the others were done" to keep it consistent. (a good optimizer should optimize it out, but.....) -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders