[pywin32-checkins] pywin32/win32/src PythonService.cpp,1.15,1.16
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-10-11 06:18:00
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26470 Modified Files: PythonService.cpp Log Message: A couple of tweaks to the code reintroducing NT support. Index: PythonService.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PythonService.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** PythonService.cpp 10 Oct 2004 22:08:29 -0000 1.15 --- PythonService.cpp 11 Oct 2004 06:17:49 -0000 1.16 *************** *** 723,727 **** return FALSE; UINT i; ! for (i=0;i<MAX_SERVICES;i++) { if (DispatchTable[i].lpServiceName==NULL) break; --- 723,727 ---- return FALSE; UINT i; ! for (i=0;i<g_maxServices;i++) { if (DispatchTable[i].lpServiceName==NULL) break; *************** *** 729,733 **** return FALSE; } ! if (i>=MAX_SERVICES) return FALSE; --- 729,733 ---- return FALSE; } ! if (i>=g_maxServices) return FALSE; |