Thomas Faber : advapi32/tests: Use already existing static string instead of literal.

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:46:45 CST 2011


Module: wine
Branch: master
Commit: 087ff0644fc5535aa5843c8b4dcc4ccc7f643e08
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=087ff0644fc5535aa5843c8b4dcc4ccc7f643e08

Author: Thomas Faber <thfabba at gmx.de>
Date:   Tue Nov 15 20:28:06 2011 +0100

advapi32/tests: Use already existing static string instead of literal.

---

 dlls/advapi32/tests/service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index 5bb40eb..9aa249c 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -144,7 +144,7 @@ static void test_open_svc(void)
     /* Proper SCM handle but different access rights */
     scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
     SetLastError(0xdeadbeef);
-    svc_handle = OpenServiceA(scm_handle, "Spooler", GENERIC_WRITE);
+    svc_handle = OpenServiceA(scm_handle, spooler, GENERIC_WRITE);
     if (!svc_handle && (GetLastError() == ERROR_ACCESS_DENIED))
         skip("Not enough rights to get a handle to the service\n");
     else




More information about the wine-cvs mailing list