diff options
author | Michael Adam <obnox@samba.org> | 2008-04-13 16:36:30 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-13 20:04:44 +0200 |
commit | 09c6c38debb1d9d91bc1c39b57d29ec7ffaa77dd (patch) | |
tree | a61e4c2fd1834a2a6c039046b08a55bfd404acd5 /source3 | |
parent | 935b99c84c586eb112347f98790122ac29890231 (diff) | |
download | samba-09c6c38debb1d9d91bc1c39b57d29ec7ffaa77dd.tar.gz samba-09c6c38debb1d9d91bc1c39b57d29ec7ffaa77dd.tar.bz2 samba-09c6c38debb1d9d91bc1c39b57d29ec7ffaa77dd.zip |
libsmbconf: move setting of verbatim variable into a more internal function.
Michael
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/smbconf/smbconf_txt_simple.c | 4 |
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); } |