perfect, thank you!

Boris

2010/10/11 Dave Shield <d.t.shi...@liverpool.ac.uk>

> On 11 October 2010 13:51, Boris Zweimueller <boris.zweimuel...@gmail.com>
> wrote:
> > the generated c code for this object ist:
> >
> >     /** Check the ranges of the passed value for legality */
> >     if ( !(*val >= 54 && *val <= 54) || !(*val >= 65 && *val <= 65) )
> >     {
> >         return SNMP_ERR_WRONGVALUE;
> >     }
> >
> > which yields an error for each of the two correct values 54 oder 65. The
> > '||' should be a '&&'.
>
>
> Try the attached patch - does that fix the problem?
>
> Dave
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to