summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/web/swat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c67bdd3cf82..da7958b6a08 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 7378cf682bc..ae5a8006ce8 100644
--- a/source3/web/swat.c
+++ b/source3/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");
}