summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:42:40 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:51 +0200
commit2826471123857c3304763fee25c639f41cbd1d84 (patch)
treed22653fd7520ae3051078ec7b1dfedffda0136bd
parentf26b7384124df20f2bfefbed44586179ab3a563e (diff)
downloadsamba-2826471123857c3304763fee25c639f41cbd1d84.tar.gz
samba-2826471123857c3304763fee25c639f41cbd1d84.tar.bz2
samba-2826471123857c3304763fee25c639f41cbd1d84.zip
s3: Remove smbd_server_conn from reply_send_file_readbraw
-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 d9cb788ca3..cdc807c724 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2935,7 +2935,7 @@ static void send_file_readbraw(connection_struct *conn,
if ( !req_is_in_chain(req) && (nread > 0) && (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) ) {
ssize_t sendfile_read = -1;
char header[4];
DATA_BLOB header_blob;