1
0
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:
Andrew Bartlett 2011-04-29 12:46:10 +10:00
parent 209d47c100
commit dbbc6e9dda
3 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ smb_krb5_init_context_basic(TALLOC_CTX *tmp_ctx,
return ret; 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) { if (!config_file) {
krb5_free_context(krb5_ctx); krb5_free_context(krb5_ctx);
return ENOMEM; return ENOMEM;

View File

@ -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. * @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); const char *name);
/** /**

View File

@ -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. * @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) const char *name)
{ {
char *fname, *config_dir, *p; char *fname, *config_dir, *p;