cvs: php4 /ext/ming ming.c
| From: | Markus Fischer | Date: | Tue, 19 Mar 2002 21:18:22 +0000 |
| Subject: | cvs: php4 /ext/ming ming.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10436@lists.php.net to get a copy of this message | ||
mfischer Tue Mar 19 16:18:22 2002 EDT
Modified files:
/php4/ext/ming ming.c
Log:
- Fix bug spotted by Lukas Schroeder <lukas@edeal.de>.
Index: php4/ext/ming/ming.c
diff -u php4/ext/ming/ming.c:1.32 php4/ext/ming/ming.c:1.33
--- php4/ext/ming/ming.c:1.32 Sun Mar 17 17:50:55 2002
+++ php4/ext/ming/ming.c Tue Mar 19 16:18:17 2002
@@ -209,7 +209,7 @@
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;
}