summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_read.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-07 15:21:07 +0200
committerStefan Metzmacher <metze@samba.org>2009-08-08 10:48:39 +0200
commit9aa1d259070e93b3890933c932cbf6a2c84bc6fa (patch)
treeac24320013355dd294388ada79ddd8307635f85c /source3/smbd/smb2_read.c
parent8eac1896299d820fec0fd92b2b8b6a058ae39642 (diff)
downloadsamba-9aa1d259070e93b3890933c932cbf6a2c84bc6fa.tar.gz
samba-9aa1d259070e93b3890933c932cbf6a2c84bc6fa.tar.bz2
samba-9aa1d259070e93b3890933c932cbf6a2c84bc6fa.zip
s3:smbd: rename conn => sconn for smbd_server_connection structs
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r--source3/smbd/smb2_read.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index c0521253d3..1756c15872 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -88,7 +88,7 @@ NTSTATUS smbd_smb2_request_process_read(struct smbd_smb2_request *req)
}
subreq = smbd_smb2_read_send(req,
- req->conn->smb2.event_ctx,
+ req->sconn->smb2.event_ctx,
req,
in_smbpid,
in_file_id_volatile,
@@ -130,7 +130,7 @@ static void smbd_smb2_request_read_done(struct tevent_req *subreq)
if (!NT_STATUS_IS_OK(status)) {
error = smbd_smb2_request_error(req, status);
if (!NT_STATUS_IS_OK(error)) {
- smbd_server_connection_terminate(req->conn,
+ smbd_server_connection_terminate(req->sconn,
nt_errstr(error));
return;
}
@@ -145,7 +145,7 @@ static void smbd_smb2_request_read_done(struct tevent_req *subreq)
if (outbody.data == NULL) {
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
if (!NT_STATUS_IS_OK(error)) {
- smbd_server_connection_terminate(req->conn,
+ smbd_server_connection_terminate(req->sconn,
nt_errstr(error));
return;
}
@@ -166,7 +166,7 @@ static void smbd_smb2_request_read_done(struct tevent_req *subreq)
error = smbd_smb2_request_done(req, outbody, &outdyn);
if (!NT_STATUS_IS_OK(error)) {
- smbd_server_connection_terminate(req->conn,
+ smbd_server_connection_terminate(req->sconn,
nt_errstr(error));
return;
}