[Sphere-axis-commits] CVS: axissvr gwhogsvr.cpp,1.27.2.5,1.27.2.6
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2004-03-08 06:11:03
|
Update of /cvsroot/sphere-axis/axissvr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29309 Modified Files: Tag: v0_13-Stable gwhogsvr.cpp Log Message: Fixes for 0.13.3.6 Index: gwhogsvr.cpp =================================================================== RCS file: /cvsroot/sphere-axis/axissvr/gwhogsvr.cpp,v retrieving revision 1.27.2.5 retrieving revision 1.27.2.6 diff -C2 -r1.27.2.5 -r1.27.2.6 *** gwhogsvr.cpp 16 Oct 2003 21:01:21 -0000 1.27.2.5 --- gwhogsvr.cpp 8 Mar 2004 05:46:58 -0000 1.27.2.6 *************** *** 44,48 **** #endif ! #define SVR_VERSION "0.13.3.6BETA" #ifdef WIN32 #define SVR_PLATFORM "Win32" --- 44,48 ---- #endif ! #define SVR_VERSION "0.13.3.6" #ifdef WIN32 #define SVR_PLATFORM "Win32" *************** *** 74,80 **** //added a little function which compares strings not case sensitive //not written very fast but isn't called often! ! char *stristr( char szString[] char szCharSet[]) { ! return strstr( _strupr(szString), _strupr(szCharSet)); } --- 74,80 ---- //added a little function which compares strings not case sensitive //not written very fast but isn't called often! ! char *stristr( char *pszString, char *pszCharSet) { ! return strstr( _strupr(pszString), _strupr(pszCharSet)); } *************** *** 2583,2592 **** } // First check the IP Address against the test host ! if ( stristr(pszIPAddr, pszTestHost) != NULL ) return 1; // Next check the hostname against the test host if ( pHostent != NULL ) { ! if ( stristr(pHostent->h_name, pszTestHost) != NULL ) return 1; } --- 2583,2592 ---- } // First check the IP Address against the test host ! if ( stristr((char*)pszIPAddr, (char*)pszTestHost) != NULL ) return 1; // Next check the hostname against the test host if ( pHostent != NULL ) { ! if ( stristr(pHostent->h_name, (char*)pszTestHost) != NULL ) return 1; } |