cvs: ZendEngine2 / zend_operators.c

From: Date: Fri, 27 Apr 2007 21:27:14 +0000
Subject: cvs: ZendEngine2 / zend_operators.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5753@lists.php.net to get a copy of this message
tony2001 Fri Apr 27 21:27:14 2007 UTC Modified files: /ZendEngine2 zend_operators.c Log: fix typo (Z_USTRVAL_P -> Z_USTRLEN_P) and CS http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.c?r1=1.269&r2=1.270&diff_format=u Index: ZendEngine2/zend_operators.c diff -u ZendEngine2/zend_operators.c:1.269 ZendEngine2/zend_operators.c:1.270 --- ZendEngine2/zend_operators.c:1.269 Mon Apr 23 10:21:24 2007 +++ ZendEngine2/zend_operators.c Fri Apr 27 21:27:14 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.c,v 1.269 2007/04/23 10:21:24 dmitry Exp $ */ +/* $Id: zend_operators.c,v 1.270 2007/04/27 21:27:14 tony2001 Exp $ */ #include <ctype.h> @@ -570,9 +570,8 @@ { UChar *strval = Z_USTRVAL_P(op); - if (Z_USTRVAL_P(op) == 0 - || (Z_USTRLEN_P(op)==1 && - (Z_USTRVAL_P(op)[0]=='0'))) { + if (Z_USTRLEN_P(op) == 0 + || (Z_USTRLEN_P(op)==1 && Z_USTRVAL_P(op)[0]=='0')) { Z_LVAL_P(op) = 0; } else { Z_LVAL_P(op) = 1;

« previous php.zend-engine.cvs (#5753) next »