From dbafcc923dfa6dd2266b21a8f206e1f64ecdb33f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 15 Nov 2011 02:55:44 +0000 Subject: [PATCH] [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 svn path=/trunk/; revision=54381 --- reactos/base/system/services/database.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/base/system/services/database.c b/reactos/base/system/services/database.c index 1d6ab30d942..93ea3222796 100644 --- a/reactos/base/system/services/database.c +++ b/reactos/base/system/services/database.c @@ -1515,6 +1515,11 @@ ScmWaitForServiceConnect(PSERVICE Service) DPRINT1("Reading the service control pipe failed (Error %lu)\n", dwError); } + else + { + dwError = ERROR_SUCCESS; + DPRINT("Read control pipe successfully\n"); + } } else {