git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488b946
)
s3:registry: untangle assignment from check and add a debugmessage in reg_setvalue...
author
Michael Adam
<obnox@samba.org>
Fri, 20 Apr 2012 13:19:47 +0000
(15:19 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 10 May 2012 09:15:16 +0000
(11:15 +0200)
source3/registry/reg_api.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_api.c
b/source3/registry/reg_api.c
index c6e6d8e27e644289413be7ba27a0b079f7ff6997..bdf5ae13e096b5efa586f6a248249da700456109 100644
(file)
--- a/
source3/registry/reg_api.c
+++ b/
source3/registry/reg_api.c
@@
-711,7
+711,9
@@
WERROR reg_setvalue(struct registry_key *key, const char *name,
return WERR_ACCESS_DENIED;
}
- if (!W_ERROR_IS_OK(err = fill_value_cache(key))) {
+ err = fill_value_cache(key);
+ if (!W_ERROR_IS_OK(err)) {
+ DEBUG(0, ("reg_setvalue: Error filling value cache: %s\n", win_errstr(err)));
return err;
}