From: Michael Adam Date: Sun, 13 Apr 2008 14:36:30 +0000 (+0200) Subject: libsmbconf: move setting of verbatim variable into a more internal function. X-Git-Tag: samba-3.3.0pre1~2679 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9efd7b515183fa28f400fe88af63e0b0126e3e00;p=thirdparty%2Fsamba.git libsmbconf: move setting of verbatim variable into a more internal function. Michael --- diff --git a/source/lib/smbconf/smbconf_txt_simple.c b/source/lib/smbconf/smbconf_txt_simple.c index b3e97707764..1ce9069020f 100644 --- a/source/lib/smbconf/smbconf_txt_simple.c +++ b/source/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); }