On 07/06/07, Aleksandr Lomanov <[EMAIL PROTECTED]> wrote:
> int
> unregister_sec_mod(int secmod)
> {
>     struct snmp_secmod_list *sptr, *lptr;
>
>     for (sptr = registered_services, lptr = NULL; sptr;
>          lptr = sptr, sptr = sptr->next) {
>         if (sptr->securityModel == secmod) {
> //------------- if secmod matches to first sptr, lptr is NULL


Good catch.
Now fixed in all active branches and main development trunk.
SVN revision 16504

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to