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