fixed linuxbuild
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401805
This commit is contained in:
parent
6ba2593738
commit
b1451f692c
@ -756,7 +756,6 @@ static cell_t sm_WriteFile(IPluginContext *pContext, const cell_t *params)
|
|||||||
HandleError herr;
|
HandleError herr;
|
||||||
HandleSecurity sec(pContext->GetIdentity(), g_pCoreIdent);
|
HandleSecurity sec(pContext->GetIdentity(), g_pCoreIdent);
|
||||||
FILE *pFile;
|
FILE *pFile;
|
||||||
size_t read = 0;
|
|
||||||
|
|
||||||
if ((herr=g_HandleSys.ReadHandle(hndl, g_FileType, &sec, (void **)&pFile))
|
if ((herr=g_HandleSys.ReadHandle(hndl, g_FileType, &sec, (void **)&pFile))
|
||||||
!= HandleError_None)
|
!= HandleError_None)
|
||||||
|
Loading…
Reference in New Issue
Block a user