From 59d7006b05bb301e36f786b047b90ab9ef5be122 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 17 Mar 1998 11:44:16 +0000 Subject: - added "Full View"/"Normal View" on the "view config" page - added the ability to auto-refresh the status page. There is a problem with this (it can kill inetd!). Hopefully we can fix that. (This used to be commit 4488d8932fa072bf8a3ae236ab666618051b5e83) --- source3/param/loadparm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/param/loadparm.c') 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); -- cgit