Skip to content

Commit

Permalink
fix typo (see #35900)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Apr 19, 2006
1 parent 6937e71 commit acf25d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/streamsfuncs.c
Expand Up @@ -759,7 +759,7 @@ PHP_FUNCTION(stream_select)
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) {
Expand Down

0 comments on commit acf25d1

Please sign in to comment.