diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 15:21:16 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | 356f0336e558465318450da8936ebfef3f1f4eb1 (patch) | |
tree | ccdbba254bf1ab69ac0463df2b5db675d5ee8a45 /source3/smbd/trans2.c | |
parent | f554af187161a006c3f51edd129e53500acc9046 (diff) | |
download | samba-356f0336e558465318450da8936ebfef3f1f4eb1.tar.gz samba-356f0336e558465318450da8936ebfef3f1f4eb1.tar.bz2 samba-356f0336e558465318450da8936ebfef3f1f4eb1.zip |
s3:smbd: move some session specific globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index d11bf088e0..a8120d42fb 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -682,6 +682,8 @@ 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; + int max_send = sconn->smb1.sessions.max_send; /* Modify the data_to_send and datasize and set the error if we're trying to send more than max_data_bytes. We still send |