cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Mon, 27 Dec 2004 11:41:45 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3245@lists.php.net to get a copy of this message | ||
helly Mon Dec 27 06:41:45 2004 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
- Small fixlet (by Tony)
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.141&r2=1.142&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.141 ZendEngine2/zend_reflection_api.c:1.142
--- ZendEngine2/zend_reflection_api.c:1.141 Sat Dec 25 11:27:27 2004
+++ ZendEngine2/zend_reflection_api.c Mon Dec 27 06:41:45 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.141 2004/12/25 16:27:27 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.142 2004/12/27 11:41:45 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;
}
@@ -3542,7 +3542,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;