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:
ahodgkinson
2006-06-12 23:20:08 +00:00
parent 67543bc464
commit 7fde897e34

View File

@@ -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