can you mention the snmp version in which you saw this piece of code?

I check 5.5 and 5.4 but unable to find the same..

On Wed, Sep 1, 2010 at 11:30 AM, Magnus Fromreide <[email protected]>wrote:

> In snmp_api.c, at line 1521-1527, there is the following piece of code:
>
>    if ((rc =
> netsnmp_sess_config_transport(in_session->transport_configuration,
>                                            transport)) != SNMPERR_SUCCESS)
> {
>        return rc;
>        in_session->s_snmp_errno = rc;
>        in_session->s_errno = 0;
>        return rc;
>    }
>
> There is clearly one extra return statement but is it the first or the
> second one that should be removed?
>
> (Wes copied as the author of this code -
> $ svn log -c 19009
> ------------------------------------------------------------------------
> r19009 | hardaker | 2010-06-16 19:20:46 +0200 (Wed, 16 Jun 2010) | 1 line
>
> added a new function and transport flag to indicate if the f_open call has
> been called yet
> ------------------------------------------------------------------------
> )
>
> /MF
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>



-- 
Rakesh P. Zingade
+919420626099
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to