tony2001 Wed Apr 19 08:43:05 2006 UTC Modified files: /php-src/ext/standard streamsfuncs.c Log: fix typo (see #35900) http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.76&r2=1.77&diff_format=u Index: php-src/ext/standard/streamsfuncs.c diff -u php-src/ext/standard/streamsfuncs.c:1.76 php-src/ext/standard/streamsfuncs.c:1.77 --- php-src/ext/standard/streamsfuncs.c:1.76 Fri Apr 14 10:01:34 2006 +++ php-src/ext/standard/streamsfuncs.c Wed Apr 19 08:43:05 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.76 2006/04/14 10:01:34 tony2001 Exp $ */ +/* $Id: streamsfuncs.c,v 1.77 2006/04/19 08:43:05 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -759,7 +759,7 @@ if (sec != NULL) { convert_to_long(sec); - if (sec < 0) { + if (Z_LVAL_P(sec) < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "The seconds parameter must be greater than 0."); RETURN_FALSE; } else if (usec < 0) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php