summaryrefslogtreecommitdiff
path: root/source3/client/clitar.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-11 21:42:18 +0000
committerJeremy Allison <jra@samba.org>1998-09-11 21:42:18 +0000
commit9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c (patch)
tree645fd7c7d70c04e88018e1c1233dc8df52989562 /source3/client/clitar.c
parent27d0bef143fbc4d7547c022046c094bbdbd0bfc1 (diff)
downloadsamba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.tar.gz
samba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.tar.bz2
samba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.zip
Ok so with this bugfix 64 bit file access actually seems to work :-).
Problems were just dumb bugs like (defining sys_lseek to return 'int' DOH !). Jeremy. (This used to be commit 54dd51176fbab18af0b21bdee71b53f8f86573a8)
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 376d3aeac6..1ca8c1a4dc 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1071,7 +1071,7 @@ static void do_atar(char *rname,char *lname,file_info *finfo1)
SSVAL(outbuf,smb_vwv1,PTR_DIFF(p,outbuf) - 4);
memset(p,0,200);
p -= smb_wct;
- SSVAL(p,smb_wct,10);
+ SCVAL(p,smb_wct,10);
SSVAL(p,smb_vwv0,0xFF);
SSVAL(p,smb_vwv5,MIN(max_xmit-500,finfo.size));
SSVAL(p,smb_vwv9,MIN(0xFFFF,finfo.size));