summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-17 11:44:16 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-17 11:44:16 +0000
commit59d7006b05bb301e36f786b047b90ab9ef5be122 (patch)
tree3569000d0fcf26e29da9f0801c492cf6fe45b8a7 /source3/param/loadparm.c
parent7a60caa1186dc84d6e590b968e072cdb448b6335 (diff)
downloadsamba-59d7006b05bb301e36f786b047b90ab9ef5be122.tar.gz
samba-59d7006b05bb301e36f786b047b90ab9ef5be122.tar.bz2
samba-59d7006b05bb301e36f786b047b90ab9ef5be122.zip
- 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)
Diffstat (limited to 'source3/param/loadparm.c')
-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);