summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:45:24 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:52 +0200
commite16476ac4839199f71db2c1687388cc7e84ce2bc (patch)
tree64cafce1227c5030bd1ba8c420bfe1ea4fe9a20b /source3
parent993738d3688d0d37e65661638b09c9d823db16c5 (diff)
downloadsamba-e16476ac4839199f71db2c1687388cc7e84ce2bc.tar.gz
samba-e16476ac4839199f71db2c1687388cc7e84ce2bc.tar.bz2
samba-e16476ac4839199f71db2c1687388cc7e84ce2bc.zip
s3: Remove smbd_server_conn from send_file_readX
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 6d749d9e9a..4a7cb98377 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3471,7 +3471,7 @@ static void send_file_readX(connection_struct *conn, struct smb_request *req,
if (!req_is_in_chain(req) &&
!is_encrypted_packet(req->inbuf) && (fsp->base_fsp == NULL) &&
(fsp->wcp == NULL) &&
- lp_use_sendfile(SNUM(conn), smbd_server_conn->smb1.signing_state) ) {
+ lp_use_sendfile(SNUM(conn), req->sconn->smb1.signing_state) ) {
uint8 headerbuf[smb_size + 12 * 2];
DATA_BLOB header;