From e12cb8b6107272b625c8f34f3346b8314404f567 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 17 Mar 1998 14:46:17 +0000 Subject: oops, I got the sense of the show_defaults parameter to lp_dump() wrong. (This used to be commit b92c3b13d74acb39cdbd2c70eab2ef081c344d5a) --- source3/param/loadparm.c | 2 +- source3/web/swat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c67bdd3cf8..da7958b6a0 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2307,7 +2307,7 @@ void lp_dump(FILE *f, BOOL show_defaults) { int iService; - if (!show_defaults) { + if (show_defaults) { defaults_saved = False; } diff --git a/source3/web/swat.c b/source3/web/swat.c index 7378cf682b..ae5a8006ce 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -305,7 +305,7 @@ static void viewconfig_page(void) } printf("

");
-	write_config(stdout, !full_view);
+	write_config(stdout, full_view);
 	printf("
"); printf("\n"); } -- cgit