summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_read.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-11 19:01:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-29 10:44:42 +0200
commitac6417dfc6f0571dfb357d131222daf054abe7e6 (patch)
tree886999da4fb1ff9342340d85c73f597d2dd7101c /source3/smbd/smb2_read.c
parentf61c24166e2b98a1ac1ee6ad76b82050b39faccf (diff)
downloadsamba-ac6417dfc6f0571dfb357d131222daf054abe7e6.tar.gz
samba-ac6417dfc6f0571dfb357d131222daf054abe7e6.tar.bz2
samba-ac6417dfc6f0571dfb357d131222daf054abe7e6.zip
s3:smbd/smb2_read improve debug message
make the message similar to the ones in other paths Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r--source3/smbd/smb2_read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index b36c3cb141..d69ead9a75 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -75,7 +75,8 @@ NTSTATUS smbd_smb2_request_process_read(struct smbd_smb2_request *req)
/* check the max read size */
if (in_length > req->sconn->smb2.max_read) {
- DEBUG(0,("here:%s: 0x%08X: 0x%08X\n",
+ DEBUG(2,("smbd_smb2_request_process_read: "
+ "client ignored max read: %s: 0x%08X: 0x%08X\n",
__location__, in_length, req->sconn->smb2.max_read));
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
}