- Added Harry Sintonen's fix for the large write issue.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/amiga-smbfs/trunk@26 26594b9e-b914-4e86-b7a1-9402bd427170
This commit is contained in:
Olaf Barthel
2009-07-22 07:52:59 +00:00
parent 6fde7831a9
commit 57bfcc3407
3 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* $Id: proc.c,v 1.8 2009-04-17 11:09:41 obarthel Exp $
* $Id: proc.c,v 1.9 2009-07-22 07:52:59 obarthel Exp $
*
* :ts=8
*
@@ -806,7 +806,7 @@ smb_proc_write_raw (struct smb_server *server, struct smb_dirent *finfo, off_t o
else
len = count - len; /* transfer the larger part using the second packet */
p = smb_setup_header_exclusive (server, SMBwritebraw, 11, len);
p = smb_setup_header_exclusive (server, SMBwritebraw, server->protocol > PROTOCOL_COREPLUS ? 12 : 11, len);
WSET (buf, smb_vwv0, finfo->fileid);
DSET (buf, smb_vwv1, count);