(file) Return to snmpDeliverTrap_netsnmp.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_netsnmp.cpp between version 1.18 and 1.20

version 1.18, 2008/08/14 17:30:42 version 1.20, 2008/10/14 17:37:18
Line 60 
Line 60 
     // Initializes the SNMP library     // Initializes the SNMP library
     init_snmp("snmpIndicationHandler");     init_snmp("snmpIndicationHandler");
  
       // don't load/save persistent file
   #ifdef NETSNMP_DS_LIB_DONT_PERSIST_STATE
       netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID,
           NETSNMP_DS_LIB_DONT_PERSIST_STATE, 1);
   #endif
   
     // windows32 specific initialization (is a NOOP on unix)     // windows32 specific initialization (is a NOOP on unix)
     SOCK_STARTUP;     SOCK_STARTUP;
  
Line 150 
Line 156 
  
         free(errStr);         free(errStr);
  
           snmp_free_pdu(snmpPdu);
   
         _destroySession(sessionHandle);         _destroySession(sessionHandle);
  
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
Line 218 
Line 226 
  
         free(errStr);         free(errStr);
  
           free(snmpSession.peername);
   
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
  
         throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED,         throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED,
Line 239 
Line 249 
  
             free(errStr);             free(errStr);
  
               free(snmpSession.peername);
   
             throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, MessageLoaderParms(             throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, MessageLoaderParms(
                 _MSG_GET_SESSION_POINTER_FAILED_KEY,                 _MSG_GET_SESSION_POINTER_FAILED_KEY,
                 exceptionStr));                 exceptionStr));


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.20

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2