mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r1468: Dump the parametrical options only once at the end of the service.
Fixes Testparm producing huge output and swat creating monster smb.conf files.
(This used to be commit 9c41adb98b
)
This commit is contained in:
parent
4499082b83
commit
8ef0682954
@ -3552,6 +3552,7 @@ static void dump_a_service(service * pService, FILE * f)
|
||||
((char *)pService) + pdiff, f);
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (pService->param_opt != NULL) {
|
||||
data = pService->param_opt;
|
||||
@ -3560,7 +3561,6 @@ static void dump_a_service(service * pService, FILE * f)
|
||||
data = data->next;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user