Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Commit 0f1c542

Browse files
committed
Fix for ZTS (cause runtime issue)
1 parent 8651884 commit 0f1c542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blenc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ zend_op_array *blenc_compile(zend_file_handle *file_handle, int type TSRMLS_DC)
550550
}
551551

552552
script = emalloc(BLENC_BUFSIZE);
553-
for(i = 2; (bytes = php_stream_read(stream, &script[index], BLENC_BUFSIZE TSRMLS_CC)) > 0; i++) {
553+
for(i = 2; (bytes = php_stream_read(stream, &script[index], BLENC_BUFSIZE)) > 0; i++) {
554554

555555
script_len += bytes;
556556
if(bytes == BLENC_BUFSIZE) {

0 commit comments

Comments
 (0)