summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 15:09:47 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:33 +0200
commit39da717fe1583308239278615ac44f8b910c50e3 (patch)
tree87c7d0f98236c0297cf1dbf8c3f43e66a58b9495 /source3/smbd/negprot.c
parent7c7ffb70fb53c8cedd388c016836d13107f28ac1 (diff)
downloadsamba-39da717fe1583308239278615ac44f8b910c50e3.tar.gz
samba-39da717fe1583308239278615ac44f8b910c50e3.tar.bz2
samba-39da717fe1583308239278615ac44f8b910c50e3.zip
s3: Lift the smbd_messaging_context from reload_services
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e61d5198ac..9151d1baf1 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -667,7 +667,7 @@ void reply_negprot(struct smb_request *req)
}
/* possibly reload - change of architecture */
- reload_services(True);
+ reload_services(sconn->msg_ctx, True);
/* moved from the netbios session setup code since we don't have that
when the client connects to port 445. Of course there is a small
@@ -693,7 +693,7 @@ void reply_negprot(struct smb_request *req)
if(choice != -1) {
fstrcpy(remote_proto,supported_protocols[protocol].short_name);
- reload_services(True);
+ reload_services(sconn->msg_ctx, True);
supported_protocols[protocol].proto_reply_fn(req, choice);
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {