summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.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/negprot.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/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 ae9ce5a2cf..52ef96d5fc 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -714,7 +714,7 @@ void reply_negprot(struct smb_request *req)
}
/* possibly reload - change of architecture */
- reload_services(sconn->msg_ctx, sconn->sock, True);
+ reload_services(sconn, conn_snum_used, 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
@@ -740,7 +740,7 @@ void reply_negprot(struct smb_request *req)
if(choice != -1) {
fstrcpy(remote_proto,supported_protocols[protocol].short_name);
- reload_services(sconn->msg_ctx, sconn->sock, True);
+ reload_services(sconn, conn_snum_used, true);
supported_protocols[protocol].proto_reply_fn(req, choice);
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {