diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-03-17 14:46:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-03-17 14:46:17 +0000 |
commit | e12cb8b6107272b625c8f34f3346b8314404f567 (patch) | |
tree | 8668d5d4501c472f53f54b9f272ba2dcea9dfada /source3 | |
parent | d56fc8d169b0b29136b18c764ddb5d2fdfadbd76 (diff) | |
download | samba-e12cb8b6107272b625c8f34f3346b8314404f567.tar.gz samba-e12cb8b6107272b625c8f34f3346b8314404f567.tar.xz samba-e12cb8b6107272b625c8f34f3346b8314404f567.zip |
oops, I got the sense of the show_defaults parameter to lp_dump()
wrong.
(This used to be commit b92c3b13d74acb39cdbd2c70eab2ef081c344d5a)
Diffstat (limited to 'source3')
-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 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"); } |