summaryrefslogtreecommitdiffstats
path: root/source3/web/swat.c
diff options
context:
space:
mode:
authorDeryck Hodge <deryck@samba.org>2006-05-05 21:28:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:50 -0500
commite805b87e5ff6c0359b84727fe69e287e14890c02 (patch)
treea55b74bb7e9698ac27766f0ce1c570b78e6d2d38 /source3/web/swat.c
parentb62f60d736ebc99ca688d577d5f4987100744f2a (diff)
downloadsamba-e805b87e5ff6c0359b84727fe69e287e14890c02.tar.gz
samba-e805b87e5ff6c0359b84727fe69e287e14890c02.tar.xz
samba-e805b87e5ff6c0359b84727fe69e287e14890c02.zip
r15465: Fix segfault in SWAT.
Fixes bug #3702. deryck (This used to be commit 4ad7276cef02b28308446c0eb76ea1190ffe9b05)
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index cbf5ba89891..a0dc0f4d313 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -1375,6 +1375,8 @@ static void printers_page(void)
poptFreeContext(pc);
+ load_case_tables();
+
setup_logging(argv[0],False);
load_config(True);
load_interfaces();