summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-12 17:30:40 +0200
committerVolker Lendecke <vl@samba.org>2011-09-13 11:00:12 +0200
commitd08885b0c43e86ceece8e0ce92e7419de4b65ea9 (patch)
treee48f036937f8dd64047477dfa6f3d4861a911864 /source3
parent2b32918117a042d36be79042f0ceaed35042489b (diff)
downloadsamba-d08885b0c43e86ceece8e0ce92e7419de4b65ea9.tar.gz
samba-d08885b0c43e86ceece8e0ce92e7419de4b65ea9.tar.bz2
samba-d08885b0c43e86ceece8e0ce92e7419de4b65ea9.zip
s3: Remove a reference to smbd_server_conn
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index ecda47c644..78390d2f26 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -63,11 +63,12 @@ static void smb_conf_updated(struct messaging_context *msg,
{
struct tevent_context *ev_ctx =
talloc_get_type_abort(private_data, struct tevent_context);
+ struct smbd_server_connection *sconn = msg_ctx_to_sconn(msg);
DEBUG(10,("smb_conf_updated: Got message saying smb.conf was "
"updated. Reloading.\n"));
change_to_root_user();
- reload_services(msg, smbd_server_conn->sock, False);
+ reload_services(msg, sconn->sock, False);
if (am_parent) {
printing_subsystem_update(ev_ctx, msg, false);
}