Fix for #2, taken from 063a5cffb7 (file_magic branch). Thanks to BigDave.

This commit is contained in:
Rafal Kupiec 2018-07-23 15:46:01 +02:00
parent 38186c3fda
commit 90e2bc676f
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 0 additions and 4 deletions

View File

@ -2905,10 +2905,6 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
/* Try to open the file */
rc = pStream->xOpen((const char *)SyBlobData(&sWorker), iFlags, pResource, &pHandle);
if(rc == PH7_OK) {
if(bPushInclude) {
/* Mark as included */
PH7_VmPushFilePath(pVm, (const char *)SyBlobData(&sWorker), FALSE, pNew);
}
break;
}
/* Reset the working buffer */