Use 32 bit storage for nttrans counts
commit17af5a9f42e2ee8c342b4d20928da5b0e7d00045
authorAmin Azez <azez@ufomechanic.net>
Fri, 7 Mar 2008 10:55:49 +0000 (7 10:55 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Mar 2008 11:10:48 +0000 (7 12:10 +0100)
treee3992af4500d2f69c1fcf8c2f5f722a4576cc3f4
parenta7e1fa0bef17ecc46f642b23ef635acfb09fea04
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>
(This used to be commit d66b6c3823f003875e3b7cdf63617a894cceadf9)
source4/smb_server/smb/nttrans.c