(file) Return to System.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/System.cpp between version 1.33 and 1.34

version 1.33, 2005/11/10 18:57:26 version 1.34, 2005/11/15 14:40:29
Line 222 
Line 222 
 #endif #endif
     {     {
         ::memcpy( &inaddr, phostent->h_addr,4);         ::memcpy( &inaddr, phostent->h_addr,4);
 #ifdef PEGASUS_PLATFORM_ZOS_ZSERIES_IBM  #if defined(PEGASUS_OS_OS400)
         char * gottenIPAdress = NULL;  
         gottenIPAdress = ::inet_ntoa( inaddr );  
         __etoa(gottenIPAdress);  
         if (gottenIPAdress != NULL)  
         {  
             ipAddress.assign(gottenIPAdress);  
         }  
 #elif defined(PEGASUS_OS_OS400)  
         char * gottenIPAdress = NULL;         char * gottenIPAdress = NULL;
         gottenIPAdress = ::inet_ntoa( inaddr );         gottenIPAdress = ::inet_ntoa( inaddr );
  
Line 277 
Line 269 
  
 #ifdef PEGASUS_OS_OS400 #ifdef PEGASUS_OS_OS400
         Uint32 tmp_addr = inet_addr(ebcdicHost);         Uint32 tmp_addr = inet_addr(ebcdicHost);
 #elif defined(PEGASUS_OS_ZOS)  
         Uint32 tmp_addr = inet_addr_ebcdic((char *)hostname);  
 #else #else
         Uint32 tmp_addr = inet_addr((char *) hostname);         Uint32 tmp_addr = inet_addr((char *) hostname);
 #endif #endif


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2