1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

s3:loadparm: Fix dump a parameter to use the file indicated

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam 2014-02-26 12:56:20 +13:00 committed by Jeremy Allison
parent 8d70514faa
commit 671d13fbd8

View File

@ -3078,7 +3078,7 @@ bool dump_a_parameter(int snum, char *parm_name, FILE * f, bool isGlobal)
parm_opt_value = lp_parm_const_string( snum,
local_parm_name, parm_opt, NULL);
if (parm_opt_value) {
printf( "%s\n", parm_opt_value);
fprintf(f, "%s\n", parm_opt_value);
result = true;
}
}