1
0
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:
Simo Sorce 2004-07-12 15:30:23 +00:00 committed by Gerald (Jerry) Carter
parent 4499082b83
commit 8ef0682954

View File

@ -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;
}
}
}
}