diff options
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/web/swat.c | 2 |
2 files changed, 2 insertions, 2 deletions
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("<p><pre>"); - write_config(stdout, !full_view); + write_config(stdout, full_view); printf("</pre>"); printf("</form>\n"); } |