summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 12:05:12 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:53 +0200
commit72b4afc6998a6340c85c44c8da15beb02d268e32 (patch)
tree6f9d4c082abd364a3cde1193769df01f734b6d7c /source3
parent29f716971abd846425792203fc6289d6137d5167 (diff)
downloadsamba-72b4afc6998a6340c85c44c8da15beb02d268e32.tar.gz
samba-72b4afc6998a6340c85c44c8da15beb02d268e32.tar.bz2
samba-72b4afc6998a6340c85c44c8da15beb02d268e32.zip
s3: Remove smbd_server_conn from send_trans2_replies
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index f69cefe66b..87c55ce2ce 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -780,7 +780,7 @@ void send_trans2_replies(connection_struct *conn,
int alignment_offset = 1; /* JRA. This used to be 3. Set to 1 to make netmon parse ok. */
int data_alignment_offset = 0;
bool overflow = False;
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
int max_send = sconn->smb1.sessions.max_send;
/* Modify the data_to_send and datasize and set the error if