Author: cgutman Date: Tue Nov 15 02:55:44 2011 New Revision: 54381
URL: http://svn.reactos.org/svn/reactos?rev=54381&view=rev Log: [SERVICES] - Always return ERROR_SUCCESS when ScmWaitForServiceConnect completes successfully instead of sometimes returning ERROR_PIPE_CONNECTED because the callers of this helper just look for ERROR_SUCCESS to indicate a successful call
Modified: trunk/reactos/base/system/services/database.c
Modified: trunk/reactos/base/system/services/database.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/databa... ============================================================================== --- trunk/reactos/base/system/services/database.c [iso-8859-1] (original) +++ trunk/reactos/base/system/services/database.c [iso-8859-1] Tue Nov 15 02:55:44 2011 @@ -1514,6 +1514,11 @@ dwError = GetLastError(); DPRINT1("Reading the service control pipe failed (Error %lu)\n", dwError); + } + else + { + dwError = ERROR_SUCCESS; + DPRINT("Read control pipe successfully\n"); } } else