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;
|