s3:smb2_*: make use of smb2req->xconn where possible
[samba.git] / source3 / smbd / smb2_find.c
index 2d310a51527eebd5dd809dacac9822cc22817eec..7597713834c6e4e8f508078e4344cc640aaac31c 100644 (file)
@@ -207,7 +207,7 @@ static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx,
                                              uint32_t in_output_buffer_length,
                                              const char *in_file_name)
 {
-       struct smbXsrv_connection *xconn = smb2req->sconn->conn;
+       struct smbXsrv_connection *xconn = smb2req->xconn;
        struct tevent_req *req;
        struct smbd_smb2_find_state *state;
        struct smb_request *smbreq;