git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032bf5c
)
s3: use dump_data in query FILE_BASIC_UNIX_INFO
author
Volker Lendecke
<vl@samba.org>
Sun, 25 Jul 2010 17:11:30 +0000
(19:11 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 25 Jul 2010 18:45:46 +0000
(20:45 +0200)
Jeremy, please check! To me this is a lot more readable than the decimal
listing of the bytes.
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index b81eb837befa3c29b5010d48f1964370a4017cc7..12a27b174b2dd3d6f685be24447f7b4085276f27 100644
(file)
--- 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;