cvs: ZendEngine2 / zend_API.h
| From: | Antony Dovgal | Date: | Wed, 15 Nov 2006 22:50:19 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5413@lists.php.net to get a copy of this message | ||
tony2001 Wed Nov 15 22:50:19 2006 UTC
Modified files:
/ZendEngine2 zend_API.h
Log:
fix typo (patch by Mike Wallner)
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.h?r1=1.268&r2=1.269&diff_format=u
Index: ZendEngine2/zend_API.h
diff -u ZendEngine2/zend_API.h:1.268 ZendEngine2/zend_API.h:1.269
--- ZendEngine2/zend_API.h:1.268 Fri Oct 27 21:22:05 2006
+++ ZendEngine2/zend_API.h Wed Nov 15 22:50:19 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.h,v 1.268 2006/10/27 21:22:05 andrei Exp $ */
+/* $Id: zend_API.h,v 1.269 2006/11/15 22:50:19 tony2001 Exp $ */
#ifndef ZEND_API_H
#define ZEND_API_H
@@ -1252,7 +1252,7 @@
#define add_index_ascii_stringl(arg, idx, str, length, flags) do { \
if (UG(unicode)) { \
- int ___u_len; \
+ int ___u_len = length; \
UChar *___u_str = zend_ascii_to_unicode((str), (___u_len)+1 ZEND_FILE_LINE_CC); \
if ((flags) & ZSTR_AUTOFREE) { \
efree(str); \