summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_read.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-25 11:39:46 -0700
committerJeremy Allison <jra@samba.org>2010-05-25 11:39:46 -0700
commit475531c9bb6c2d4b522a77d0ced09a9775704085 (patch)
tree5cbd92fbb68ea9ed5e0d5c25ad8c8d2103827fb0 /source3/smbd/smb2_read.c
parentaa51fa0ce34cc36ad757bb5ab1450c37631bb082 (diff)
downloadsamba-475531c9bb6c2d4b522a77d0ced09a9775704085.tar.gz
samba-475531c9bb6c2d4b522a77d0ced09a9775704085.tar.bz2
samba-475531c9bb6c2d4b522a77d0ced09a9775704085.zip
Standardize debug messages for read and write.
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r--source3/smbd/smb2_read.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index d4c38d65df..b29da4a356 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -310,6 +310,12 @@ static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
+ DEBUG(3,("smbd_smb2_read: fnum=[%d/%s] length=%lu offset=%lu read=%lu\n",
+ fsp->fnum, fsp_str_dbg(fsp),
+ (unsigned long)in_length,
+ (unsigned long)in_offset,
+ (unsigned long)nread));
+
state->out_data.length = nread;
state->out_remaining = 0;
tevent_req_done(req);