summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-25 19:11:30 +0200
committerVolker Lendecke <vl@samba.org>2010-07-25 20:45:46 +0200
commit1528a4ffbe40fe63329e67370f13c0ef6b117b81 (patch)
treea86af1b42dd01f176f930ad35a14a419c621fb7e /source3/smbd
parent032bf5c62948387a43501509d046b21f7a6f9d85 (diff)
downloadsamba-1528a4ffbe40fe63329e67370f13c0ef6b117b81.tar.gz
samba-1528a4ffbe40fe63329e67370f13c0ef6b117b81.tar.bz2
samba-1528a4ffbe40fe63329e67370f13c0ef6b117b81.zip
s3: use dump_data in query FILE_BASIC_UNIX_INFO
Jeremy, please check! To me this is a lot more readable than the decimal listing of the bytes.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index b81eb837be..12a27b174b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4754,14 +4754,9 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
pdata = store_file_unix_basic(conn, pdata, fsp, psbuf);
data_size = PTR_DIFF(pdata,(*ppdata));
- {
- int i;
- DEBUG(4,("smbd_do_qfilepathinfo: SMB_QUERY_FILE_UNIX_BASIC "));
-
- for (i=0; i<100; i++)
- DEBUG(4,("%d=%x, ",i, (*ppdata)[i]));
- DEBUG(4,("\n"));
- }
+ DEBUG(4,("smbd_do_qfilepathinfo: "
+ "SMB_QUERY_FILE_UNIX_BASIC\n"));
+ dump_data(4, (uint8_t *)(*ppdata), data_size);
break;