diff options
author | Markus Fischer <mfischer@php.net> | 2002-03-19 21:18:18 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-03-19 21:18:18 +0000 |
commit | cd0ceca76f49b68d87853c30594d9455769c0b56 (patch) | |
tree | 3ef4f6fb0f1b5d5c99f51707ea0eac55b3e64768 /ext/ming | |
parent | c19ddade2cd4bca903b020bced3aa4f2c223e990 (diff) | |
download | php-git-cd0ceca76f49b68d87853c30594d9455769c0b56.tar.gz |
- Fix bug spotted by Lukas Schroeder <lukas@edeal.de>.
Diffstat (limited to 'ext/ming')
-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; } |