(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.46 and 1.47

version 1.46, 2006/12/13 09:47:39 version 1.47, 2006/12/13 10:09:29
Line 594 
Line 594 
         // localhost ?         // localhost ?
         if (String::equalNoCase(hostName,String("localhost"))) return true;         if (String::equalNoCase(hostName,String("localhost"))) return true;
         char localHostName[PEGASUS_MAXHOSTNAMELEN];         char localHostName[PEGASUS_MAXHOSTNAMELEN];
         CString cstringLocalHostName = System::getHostName().getCString());          CString cstringLocalHostName = System::getHostName().getCString();
         strcpy(localHostName, (const char*) cstringLocalHostName);         strcpy(localHostName, (const char*) cstringLocalHostName);
         // given hostname equals what system returns as local hostname ?         // given hostname equals what system returns as local hostname ?
         if (String::equalNoCase(hostName,localHostName)) return true;         if (String::equalNoCase(hostName,localHostName)) return true;


Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2