Use 32 bit storage for nttrans counts
authorAmin Azez <azez@ufomechanic.net>
Fri, 7 Mar 2008 10:55:49 +0000 (10:55 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Mar 2008 11:10:48 +0000 (12:10 +0100)
commitd66b6c3823f003875e3b7cdf63617a894cceadf9
treefffe566cae362e1c0829bd2086dd41adb6fa4cab
parentd331bc400fb138bc43be88d0ca8ab3bcd590d2cd
Use 32 bit storage for nttrans counts

Erroneous 16bit storage for nttrans counts meant that nttrans behaved
"strangely" for sizes of over 64K

As 32 bit is used in the SMB message and specified in
http://us4.samba.org/samba/ftp/specs/draft-leach-cifs-v1-spec-02.txt
section 3.13.2
this fix changes storage to match.

Signed-off-by: Amin Azez <azez@ufomechanic.net>
source/smb_server/smb/nttrans.c