mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
- 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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user