mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s4-param Remove config_path() -> lpcfg_config_path()
This is consistent with lock_path() Andrew Bartlett
This commit is contained in:
parent
209d47c100
commit
dbbc6e9dda
@ -415,7 +415,7 @@ smb_krb5_init_context_basic(TALLOC_CTX *tmp_ctx,
|
||||
return ret;
|
||||
}
|
||||
|
||||
config_file = config_path(tmp_ctx, lp_ctx, "krb5.conf");
|
||||
config_file = lpcfg_config_path(tmp_ctx, lp_ctx, "krb5.conf");
|
||||
if (!config_file) {
|
||||
krb5_free_context(krb5_ctx);
|
||||
return ENOMEM;
|
||||
|
@ -284,7 +284,7 @@ char *lpcfg_lock_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
*
|
||||
* @retval Pointer to a talloc'ed string containing the full path.
|
||||
**/
|
||||
char *config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
char *lpcfg_config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
const char *name);
|
||||
|
||||
/**
|
||||
|
@ -108,7 +108,7 @@ char *lpcfg_lock_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
* @retval Pointer to a talloc'ed string containing the full path.
|
||||
**/
|
||||
|
||||
char *config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
char *lpcfg_config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
const char *name)
|
||||
{
|
||||
char *fname, *config_dir, *p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user