summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 22:54:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 23:37:47 +0200
commit016418d6c240da20f010d2bbd95051feef0a5244 (patch)
treed4d2458f123fcf3a2e77cd911f42e62df3389d38 /source3/web
parent1c1d83a5327b86042df7c33d075e05adff7a30f2 (diff)
downloadsamba-016418d6c240da20f010d2bbd95051feef0a5244.tar.gz
samba-016418d6c240da20f010d2bbd95051feef0a5244.tar.bz2
samba-016418d6c240da20f010d2bbd95051feef0a5244.zip
s3: Remove the smbd_messaging_context from load_printers
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 720018d15d..1250204d03 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -491,7 +491,7 @@ static int save_reload(int snum)
return 0;
}
iNumNonAutoPrintServices = lp_numservices();
- load_printers();
+ load_printers(server_event_context(), server_messaging_context());
return 1;
}
@@ -1434,7 +1434,7 @@ const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid)
load_config(True);
load_interfaces();
iNumNonAutoPrintServices = lp_numservices();
- load_printers();
+ load_printers(server_event_context(), server_messaging_context());
cgi_setup(get_dyn_SWATDIR(), !demo_mode);