git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Functions to work with null delimited lists.
[nssm.git]
/
service.cpp
diff --git
a/service.cpp
b/service.cpp
index
164fbc0
..
79c2f56
100644
(file)
--- a/
service.cpp
+++ b/
service.cpp
@@
-1072,7
+1072,7
@@
int pre_edit_service(int argc, TCHAR **argv) {
}
\r
\r
if (! service->native) {
\r
- key = open_registry(service->name, KEY_WRITE);
\r
+ key = open_registry(service->name, KEY_
READ | KEY_
WRITE);
\r
if (! key) {
\r
if (value.string) HeapFree(GetProcessHeap(), 0, value.string);
\r
return 4;
\r