summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index c29097f420..524fd26df3 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -3591,7 +3591,8 @@ void lpcfg_dump(struct loadparm_context *lp_ctx, FILE *f, bool show_defaults,
int iService;
if (lp_ctx->s3_fns) {
- return lp_ctx->s3_fns->dump(f, show_defaults, maxtoprint);
+ lp_ctx->s3_fns->dump(f, show_defaults, maxtoprint);
+ return;
}
defaults_saved = !show_defaults;