cvs: php4 /ext/ming ming.c
| From: | Jani Taskinen | Date: | Sat, 16 Mar 2002 22:19:32 +0000 |
| Subject: | cvs: php4 /ext/ming ming.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10271@lists.php.net to get a copy of this message | ||
sniper Sat Mar 16 17:19:32 2002 EDT
Modified files:
/php4/ext/ming ming.c
Log:
- Fixed some typos.
Index: php4/ext/ming/ming.c
diff -u php4/ext/ming/ming.c:1.29 php4/ext/ming/ming.c:1.30
--- php4/ext/ming/ming.c:1.29 Sat Mar 16 10:15:50 2002
+++ php4/ext/ming/ming.c Sat Mar 16 17:19:32 2002
@@ -1157,13 +1157,13 @@
php_stream * stream;
FILE * file;
- stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb",
REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, TSRMLS_CC);
+ stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb",
REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL TSRMLS_CC);
if(stream == NULL) {
RETURN_FALSE;
}
- if (FAILURE = php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS))
+ if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&file, REPORT_ERRORS))
{
php_stream_close(stream);
RETURN_FALSE;
@@ -1181,6 +1181,7 @@
add_property_resource(getThis(), "font", ret);
zend_list_addref(ret);
}
+
static void destroy_SWFFont_resource(zend_rsrc_list_entry *resource TSRMLS_DC)
{
destroySWFBlock((SWFBlock)resource->ptr);
@@ -1601,7 +1602,7 @@
convert_to_string_ex(x);
- stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE,
NULL, TSRMLS_CC);
+ stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE,
NULL TSRMLS_CC);
if (stream == NULL)
RETURN_FALSE;