]> git.samba.org - tprouty/samba.git/commitdiff
oops, I got the sense of the show_defaults parameter to lp_dump()
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Mar 1998 14:46:17 +0000 (14:46 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Mar 1998 14:46:17 +0000 (14:46 +0000)
wrong.

source/param/loadparm.c
source/web/swat.c

index c67bdd3cf827894fa2419d22839218a0f79e05b1..da7958b6a08bee8202fb5b12e96e096e9479e8ee 100644 (file)
@@ -2307,7 +2307,7 @@ void lp_dump(FILE *f, BOOL show_defaults)
 {
    int iService;
 
-   if (!show_defaults) {
+   if (show_defaults) {
           defaults_saved = False;
    }
 
index 7378cf682bcb500a2b1807959967f484b55e6276..ae5a8006ce804ef770988c9d8348a23009174cdb 100644 (file)
@@ -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");
 }