summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 16:13:00 +0200
committerVolker Lendecke <vl@samba.org>2010-08-18 11:18:21 +0200
commitac7b63384d3f8afdb768f95e7744380f4df07d76 (patch)
treea568644b63e97912f17e010c83065c1eb38ab909 /source3/smbd/negprot.c
parent59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c (diff)
downloadsamba-ac7b63384d3f8afdb768f95e7744380f4df07d76.tar.gz
samba-ac7b63384d3f8afdb768f95e7744380f4df07d76.tar.bz2
samba-ac7b63384d3f8afdb768f95e7744380f4df07d76.zip
s3: Lift smbd_server_fd 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 9151d1baf1..2908c2613e 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(sconn->msg_ctx, True);
+ reload_services(sconn->msg_ctx, sconn->sock, 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(sconn->msg_ctx, True);
+ reload_services(sconn->msg_ctx, sconn->sock, True);
supported_protocols[protocol].proto_reply_fn(req, choice);
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {