mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
libsmbconf: move setting of verbatim variable into a more internal function.
Michael
(This used to be commit 9efd7b5151
)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user