http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db7165
)
In OpenSCManagerW() allow lpDatabaseName to be an empty string.
author
Ivan Leo Puoti
<puoti@inwind.it>
Tue, 21 Dec 2004 16:05:28 +0000
(16:05 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 21 Dec 2004 16:05:28 +0000
(16:05 +0000)
dlls/advapi32/service.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/advapi32/service.c
b/dlls/advapi32/service.c
index 5629ea7797d08f96d28bc341357655095fbf9c5d..404d51ebd91e67c50590ca1e20b44b67eb9c0ee4 100644
(file)
--- a/
dlls/advapi32/service.c
+++ b/
dlls/advapi32/service.c
@@
-748,7
+748,7
@@
SC_HANDLE WINAPI OpenSCManagerW( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName,
TRACE("(%s,%s,0x%08lx)\n", debugstr_w(lpMachineName),
debugstr_w(lpDatabaseName), dwDesiredAccess);
- if( lpDatabaseName )
+ if( lpDatabaseName
&& lpDatabaseName[0]
)
{
if( strcmpiW( lpDatabaseName, SERVICES_ACTIVE_DATABASEW ) == 0 )
{