summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-14 13:25:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-15 11:11:24 +0100
commit03455519e70253cb86007ac5a8960999e9aa5fa4 (patch)
tree0203cadb5d8048e82682a42e913520d0de033a40 /source3/smbd/server.c
parent5061dd26d314baf38c7e8b3f8e495579baba49de (diff)
downloadsamba-03455519e70253cb86007ac5a8960999e9aa5fa4.tar.gz
samba-03455519e70253cb86007ac5a8960999e9aa5fa4.tar.bz2
samba-03455519e70253cb86007ac5a8960999e9aa5fa4.zip
s3:smbd: pass smbd_server_connection and a snumused function pointer to reload_services()
metze
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index e58128ea58..369b7ab450 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -99,7 +99,7 @@ static void smbd_parent_conf_updated(struct messaging_context *msg,
DEBUG(10,("smbd_parent_conf_updated: Got message saying smb.conf was "
"updated. Reloading.\n"));
change_to_root_user();
- reload_services(msg, -1, false);
+ reload_services(NULL, NULL, false);
printing_subsystem_update(ev_ctx, msg, false);
}
@@ -910,7 +910,7 @@ static void smbd_parent_sig_hup_handler(struct tevent_context *ev,
change_to_root_user();
DEBUG(1,("parent: Reloading services after SIGHUP\n"));
- reload_services(parent->msg_ctx, -1, false);
+ reload_services(NULL, NULL, false);
printing_subsystem_update(parent->ev_ctx, parent->msg_ctx, true);
}
@@ -1138,7 +1138,7 @@ extern void build_options(bool screen);
* Reloading of the printers will not work here as we don't have a
* server info and rpc services set up. It will be called later.
*/
- if (!reload_services(NULL, -1, False)) {
+ if (!reload_services(NULL, NULL, false)) {
exit(1);
}