diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 00:52:55 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 01:29:43 +0100 |
commit | b344dafa62a6d9e4af1063f612150cc9f9fe3b81 (patch) | |
tree | 7fc8b0e301247550ea8b4702168508a9be7619dd /source3 | |
parent | a6fb71e55b583119c28e74e8aa54dd1b5a0fc3af (diff) | |
download | samba-b344dafa62a6d9e4af1063f612150cc9f9fe3b81.tar.gz samba-b344dafa62a6d9e4af1063f612150cc9f9fe3b81.tar.bz2 samba-b344dafa62a6d9e4af1063f612150cc9f9fe3b81.zip |
Fix setting of error code in error path.
Michael
(This used to be commit 8a7954a9ae13df527ccedb1004ee4f87d506ce5b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index 144026dbb5..514fd245ad 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/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; } |