summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-11 17:43:10 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:22 +0200
commit4d391d29f87cfe88e1d3aa96f193c486beb5a1f1 (patch)
tree07c6362725b61ac2b7bd991c8a9382ae05902d12 /source3/param/loadparm.c
parente1f0b91c5fd6b11e258464994868be8020c89e89 (diff)
downloadsamba-4d391d29f87cfe88e1d3aa96f193c486beb5a1f1.tar.gz
samba-4d391d29f87cfe88e1d3aa96f193c486beb5a1f1.tar.bz2
samba-4d391d29f87cfe88e1d3aa96f193c486beb5a1f1.zip
libsmbconf: Convert smbconf_get_config() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d9608babc8..2f67c502d2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7313,7 +7313,7 @@ static bool process_registry_globals(void)
bool process_registry_shares(void)
{
- WERROR werr;
+ sbcErr err;
uint32_t count;
struct smbconf_service **service = NULL;
uint32_t num_shares = 0;
@@ -7325,8 +7325,8 @@ bool process_registry_shares(void)
goto done;
}
- werr = smbconf_get_config(conf_ctx, mem_ctx, &num_shares, &service);
- if (!W_ERROR_IS_OK(werr)) {
+ err = smbconf_get_config(conf_ctx, mem_ctx, &num_shares, &service);
+ if (!SBC_ERROR_IS_OK(err)) {
goto done;
}