tony2001                Wed Apr 19 08:43:29 2006 UTC

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/standard       streamsfuncs.c 
  Log:
  MFH: fix typo
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.5&r2=1.58.2.6&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.58.2.5 
php-src/ext/standard/streamsfuncs.c:1.58.2.6
--- php-src/ext/standard/streamsfuncs.c:1.58.2.5        Fri Apr 14 10:00:55 2006
+++ php-src/ext/standard/streamsfuncs.c Wed Apr 19 08:43:29 2006
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.58.2.5 2006/04/14 10:00:55 tony2001 Exp $ */
+/* $Id: streamsfuncs.c,v 1.58.2.6 2006/04/19 08:43:29 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -754,7 +754,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

Reply via email to