summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 1d65030869..c67bdd3cf8 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2303,10 +2303,14 @@ int lp_numservices(void)
/***************************************************************************
Display the contents of the services array in human-readable form.
***************************************************************************/
-void lp_dump(FILE *f)
+void lp_dump(FILE *f, BOOL show_defaults)
{
int iService;
+ if (!show_defaults) {
+ defaults_saved = False;
+ }
+
dump_globals(f);
dump_a_service(&sDefault, f);