svn commit: samba r15970 - in branches/SAMBA_4_0/source/ntvfs/ipc: .
metze at samba.org
metze at samba.org
Tue May 30 20:23:55 GMT 2006
Author: metze
Date: 2006-05-30 20:23:55 +0000 (Tue, 30 May 2006)
New Revision: 15970
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15970
Log:
add a more verbose comment to tridge's fix for bigendian hosts.
tridge: I'm fine with this fix
metze
Modified:
branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c 2006-05-30 20:16:36 UTC (rev 15969)
+++ branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c 2006-05-30 20:23:55 UTC (rev 15970)
@@ -660,7 +660,12 @@
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);
More information about the samba-cvs
mailing list