summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/smbconf/smbconf_init.c')
-rw-r--r--source3/lib/smbconf/smbconf_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_init.c b/source3/lib/smbconf/smbconf_init.c
index 2ad3a0807f..4efc440819 100644
--- a/source3/lib/smbconf/smbconf_init.c
+++ b/source3/lib/smbconf/smbconf_init.c
@@ -71,14 +71,14 @@ WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
if (strequal(backend, "registry") || strequal(backend, "reg")) {
werr = smbconf_init_reg(mem_ctx, conf_ctx, path);
} else if (strequal(backend, "file") || strequal(backend, "txt")) {
- werr = smbconf_init_txt_simple(mem_ctx, conf_ctx, path);
+ werr = smbconf_init_txt(mem_ctx, conf_ctx, path);
} else if (sep == NULL) {
/*
* If no separator was given in the source, and the string is
* not a know backend, assume file backend and use the source
* string as a path argument.
*/
- werr = smbconf_init_txt_simple(mem_ctx, conf_ctx, backend);
+ werr = smbconf_init_txt(mem_ctx, conf_ctx, backend);
} else {
/*
* Separator was specified but this is not a known backend.