diff options
author | Michael Adam <obnox@samba.org> | 2008-04-13 15:25:47 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-13 15:33:48 +0200 |
commit | 6c66d5d0197e6b598e088e863aaaa29c7ca31db2 (patch) | |
tree | 8d4ce4930444bfd8af85a043fbc32a8bf3f6ced5 /source3/lib/smbconf | |
parent | 4ae2e8c7ba7f4bf12e83c68eacd9cb4c1b914be5 (diff) | |
download | samba-6c66d5d0197e6b598e088e863aaaa29c7ca31db2.tar.gz samba-6c66d5d0197e6b598e088e863aaaa29c7ca31db2.tar.bz2 samba-6c66d5d0197e6b598e088e863aaaa29c7ca31db2.zip |
registry: change registry_init_smbconf() to return WERROR instead of bool
Michael
(This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c index c53d275938..ce38a20f3f 100644 --- a/source3/lib/smbconf/smbconf_reg.c +++ b/source3/lib/smbconf/smbconf_reg.c @@ -576,8 +576,8 @@ static WERROR smbconf_reg_init(struct smbconf_ctx *ctx, const char *path) } rpd(ctx)->open = false; - if (!registry_init_smbconf(path)) { - werr = WERR_REG_IO_FAILURE; + werr = registry_init_smbconf(path); + if (!W_ERROR_IS_OK(werr)) { goto done; } |