s3: Remove smbd_server_conn from send_trans2_replies
authorVolker Lendecke <vl@samba.org>
Sat, 12 Jun 2010 10:05:12 +0000 (12:05 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 12 Jun 2010 13:42:53 +0000 (15:42 +0200)
source3/smbd/trans2.c

index f69cefe66b54d73e89d5901100876a7cb046205d..87c55ce2cea43d246cd5deaba8437ec9d459ea4c 100644 (file)
@@ -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