Needed to set uiBytesWritten in directWrite() after the async write has been queued.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@553 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -1141,7 +1141,7 @@ RCODE F_FileHdl::directWrite(
|
||||
FLMBYTE * pucSrcBuffer;
|
||||
FLMUINT uiTotalBytesToWrite;
|
||||
FLMUINT uiBufBytesToWrite;
|
||||
FLMUINT uiBytesWritten;
|
||||
FLMUINT uiBytesWritten = 0;
|
||||
FLMBOOL bWaitForWrite = (pBufferObj == NULL)
|
||||
? TRUE
|
||||
: FALSE;
|
||||
@@ -1391,6 +1391,7 @@ RCODE F_FileHdl::directWrite(
|
||||
else
|
||||
{
|
||||
pBufferObj->makePending();
|
||||
uiBytesWritten = uiTotalBytesToWrite;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user