From 0e779901fc805b9bb1ef8f20d1dc8f68b9494a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 23 Sep 2006 16:06:15 +0000 Subject: [PATCH] Do not display the group name of a service if it doesn't exists svn path=/trunk/; revision=24237 --- reactos/base/system/services/database.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/base/system/services/database.c b/reactos/base/system/services/database.c index 4d75727f0cf..6cdccb65e0b 100644 --- a/reactos/base/system/services/database.c +++ b/reactos/base/system/services/database.c @@ -279,7 +279,10 @@ CreateServiceListEntry(LPWSTR lpServiceName, } DPRINT("ServiceName: '%S'\n", lpService->lpServiceName); - DPRINT("Group: '%S'\n", lpService->lpGroup->lpGroupName); + if (lpService->lpGroup != NULL) + { + DPRINT("Group: '%S'\n", lpService->lpGroup->lpGroupName); + } DPRINT("Start %lx Type %lx Tag %lx ErrorControl %lx\n", lpService->dwStartType, lpService->Status.dwServiceType,