diff options
Diffstat (limited to 'ext/ming/ming.c')
-rw-r--r-- | ext/ming/ming.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c index 7cf91e0027..79553186af 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -209,7 +209,7 @@ static SWFInput getInput(zval **zfile TSRMLS_DC) what = zend_fetch_resource(zfile TSRMLS_CC, -1, "File-Handle", &type, 1, php_file_le_stream()); - if (!php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS)) { + if (php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS) != SUCCESS) { return NULL; } |