git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3972deb
)
Fix setting of error code in error path.
author
Michael Adam
<obnox@samba.org>
Wed, 2 Jan 2008 23:52:55 +0000
(
00:52
+0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 3 Jan 2008 00:29:43 +0000
(
01:29
+0100)
Michael
source/libnet/libnet_conf.c
patch
|
blob
|
history
diff --git
a/source/libnet/libnet_conf.c
b/source/libnet/libnet_conf.c
index 144026dbb5d1bf2b6ec30dd68497e628f09fa43c..514fd245ad881e11edbbf332db97aa6909ae507c 100644
(file)
--- a/
source/libnet/libnet_conf.c
+++ b/
source/libnet/libnet_conf.c
@@
-68,6
+68,8
@@
static WERROR libnet_smbconf_reg_open_service_key(TALLOC_CTX *ctx,
if (!(token = registry_create_admin_token(ctx))) {
DEBUG(1, ("Error creating admin token\n"));
+ /* what is the appropriate error code here? */
+ werr = WERR_CAN_NOT_COMPLETE;
goto done;
}