diff options
Diffstat (limited to 'ext/pdf/pdf.c')
-rw-r--r-- | ext/pdf/pdf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 7274b0e15a..dfb17b328c 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -325,8 +325,9 @@ static void pdf_efree(PDF *p, void *mem) */ static size_t pdf_flushwrite(PDF *p, void *data, size_t size) { - return(php_write(data, size)); - return 0; + TSRMLS_FETCH(); + + return(php_write(data, size TSRMLS_CC)); } /* }}} */ |