mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Remove more usages of global_loadparm.
This commit is contained in:
@ -479,7 +479,9 @@ static WERROR reg_diff_apply_del_all_values(void *_ctx, const char *key_name)
|
||||
/**
|
||||
* Apply diff to a registry context
|
||||
*/
|
||||
_PUBLIC_ WERROR reg_diff_apply(struct registry_context *ctx, const char *filename)
|
||||
_PUBLIC_ WERROR reg_diff_apply(struct registry_context *ctx,
|
||||
struct smb_iconv_convenience *iconv_convenience,
|
||||
const char *filename)
|
||||
{
|
||||
struct reg_diff_callbacks callbacks;
|
||||
|
||||
@ -490,6 +492,6 @@ _PUBLIC_ WERROR reg_diff_apply(struct registry_context *ctx, const char *filenam
|
||||
callbacks.del_all_values = reg_diff_apply_del_all_values;
|
||||
callbacks.done = NULL;
|
||||
|
||||
return reg_diff_load(filename, lp_iconv_convenience(global_loadparm),
|
||||
return reg_diff_load(filename, iconv_convenience,
|
||||
&callbacks, ctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user