(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.6 and 1.8

version 1.6, 2006/07/27 18:16:04 version 1.8, 2006/08/11 19:47:07
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Yi Zhou, Hewlett-Packard Company (Yi.Zhou@hp.com)  
 //  
 // Modified By:  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/Packer.h> #include <Pegasus/Common/Packer.h>
Line 258 
Line 254 
             communityName = securityName;             communityName = securityName;
         }         }
  
         if (snmpSession.peername)  
         {  
             free(snmpSession.peername);             free(snmpSession.peername);
         }  
  
         if (sessionPtr->community)  
         {  
             free(sessionPtr->community);             free(sessionPtr->community);
         }  
  
         CString communityNameCStr = communityName.getCString();         CString communityNameCStr = communityName.getCString();
         size_t communityNameLen = strlen(communityNameCStr);         size_t communityNameLen = strlen(communityNameCStr);
Line 431 
Line 421 
             throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_NOT_SUPPORTED,             throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_NOT_SUPPORTED,
                 MessageLoaderParms(_MSG_VERSION_NOT_SUPPORTED_KEY,                 MessageLoaderParms(_MSG_VERSION_NOT_SUPPORTED_KEY,
                                    _MSG_VERSION_NOT_SUPPORTED));                                    _MSG_VERSION_NOT_SUPPORTED));
             break;  
         }         }
     }     }
  


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2