diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-30 20:23:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:45 -0500 |
commit | b0bcd8a2010c8426f45a3d3c1f9911754f9e2936 (patch) | |
tree | 93bf4213a7edf9abef0a9fdcd26f469a00fd1335 /source4/ntvfs | |
parent | 5cc28a03659f6b2ae554284800d108a6a70a1041 (diff) | |
download | samba-b0bcd8a2010c8426f45a3d3c1f9911754f9e2936.tar.gz samba-b0bcd8a2010c8426f45a3d3c1f9911754f9e2936.tar.bz2 samba-b0bcd8a2010c8426f45a3d3c1f9911754f9e2936.zip |
r15970: add a more verbose comment to tridge's fix for bigendian hosts.
tridge: I'm fine with this fix
metze
(This used to be commit f38b042ded6ec9b243c15d7710261708f208d289)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/ipc/vfs_ipc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c index 31233968e7..e93e32f4e4 100644 --- a/source4/ntvfs/ipc/vfs_ipc.c +++ b/source4/ntvfs/ipc/vfs_ipc.c @@ -660,7 +660,12 @@ static NTSTATUS ipc_dcerpc_cmd(struct ntvfs_module_context *ntvfs, DATA_BLOB fnum_key; uint16_t fnum; - /* the fnum is in setup[1], a 16 bit value */ + /* + * the fnum is in setup[1], a 16 bit value + * the setup[*] values are already in host byteorder + * but ntvfs_handle_search_by_wire_key() expects + * network byteorder + */ SSVAL(&fnum, 0, trans->in.setup[1]); fnum_key = data_blob_const(&fnum, 2); |