summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-17 14:46:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-17 14:46:17 +0000
commitb92c3b13d74acb39cdbd2c70eab2ef081c344d5a (patch)
treea50c55f337b718f953fd646046a5efc830c72b61
parent78abb9fec3aac235ad26d0192351dc81ade6c584 (diff)
downloadsamba-b92c3b13d74acb39cdbd2c70eab2ef081c344d5a.tar.gz
samba-b92c3b13d74acb39cdbd2c70eab2ef081c344d5a.tar.xz
samba-b92c3b13d74acb39cdbd2c70eab2ef081c344d5a.zip
oops, I got the sense of the show_defaults parameter to lp_dump()
wrong.
-rw-r--r--source/param/loadparm.c2
-rw-r--r--source/web/swat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index c67bdd3cf82..da7958b6a08 100644
--- a/source/param/loadparm.c
+++ b/source/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/source/web/swat.c b/source/web/swat.c
index 7378cf682bc..ae5a8006ce8 100644
--- a/source/web/swat.c
+++ b/source/web/swat.c
@@ -305,7 +305,7 @@ static void viewconfig_page(void)
}
printf("<p><pre>");
- write_config(stdout, !full_view);
+ write_config(stdout, full_view);
printf("</pre>");
printf("</form>\n");
}