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

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_emanate.cpp between version 1.12 and 1.13

version 1.12, 2003/07/22 21:31:45 version 1.13, 2003/08/06 13:45:17
Line 478 
Line 478 
     struct hostent *targetHostInfo;     struct hostent *targetHostInfo;
     struct in_addr in;     struct in_addr in;
  
   #ifdef PEGASUS_OS_SOLARIS
   #define HOSTENT_BUFF_SIZE       8192
       char                        buf[HOSTENT_BUFF_SIZE];
       struct hostent              h_result;
       int                         h_errorp;
       targetHostInfo=gethostbyname_r(hostName, &h_result, buff,
                                           HOSTENT_BUFF_SIZE, &h_errorp);
   #else
     targetHostInfo = gethostbyname(hostName);     targetHostInfo = gethostbyname(hostName);
   #endif
  
     if (targetHostInfo == NULL)     if (targetHostInfo == NULL)
     {     {


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2