cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Mon, 27 Dec 2004 11:44:09 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3246@lists.php.net to get a copy of this message | ||
helly Mon Dec 27 06:44:09 2004 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_reflection_api.c
Log:
- MFH: Small fixlet (by Tony)
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.111.2.13&r2=1.111.2.14&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.111.2.13 ZendEngine2/zend_reflection_api.c:1.111.2.14
--- ZendEngine2/zend_reflection_api.c:1.111.2.13 Wed Nov 24 14:59:28 2004
+++ ZendEngine2/zend_reflection_api.c Mon Dec 27 06:44:08 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.111.2.13 2004/11/24 19:59:28 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.111.2.14 2004/12/27 11:44:08 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -623,7 +623,7 @@
string_printf(str, "protected ");
break;
default:
- string_printf(str, "<visibilty error> ");
+ string_printf(str, "<visibility error> ");
break;
}
@@ -3348,7 +3348,7 @@
zend_reflection_class_factory(*pce, zclass TSRMLS_CC);
add_assoc_zval_ex(class_array, (*pce)->name, (*pce)->name_length + 1, zclass);
} else {
- add_next_index_stringl(class_array, (*pce)->name, (*pce)->name_length + 1, 1);
+ add_next_index_stringl(class_array, (*pce)->name, (*pce)->name_length, 1);
}
}
return ZEND_HASH_APPLY_KEEP;