summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r--source3/lib/smbconf/smbconf_txt_simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_txt_simple.c b/source3/lib/smbconf/smbconf_txt_simple.c
index b3e9770776..1ce9069020 100644
--- a/source3/lib/smbconf/smbconf_txt_simple.c
+++ b/source3/lib/smbconf/smbconf_txt_simple.c
@@ -227,6 +227,8 @@ static WERROR smbconf_txt_init(struct smbconf_ctx *ctx, const char *path)
return WERR_NOMEM;
}
+ pd(ctx)->verbatim = true;
+
return WERR_OK;
}
@@ -614,7 +616,5 @@ WERROR smbconf_init_txt_simple(TALLOC_CTX *mem_ctx,
return werr;
}
- pd(*conf_ctx)->verbatim = true;
-
return smbconf_txt_load_file(*conf_ctx);
}