diff options
author | Antony Dovgal <tony2001@php.net> | 2006-04-19 08:43:29 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-04-19 08:43:29 +0000 |
commit | 9ea8d8dbf61e87291f028ddec65a03d991ba6a22 (patch) | |
tree | 32bed56f7d5fe976a6059c83a82d33f5456981c2 | |
parent | 73152885919949b0f04593b909594600ab7fd523 (diff) | |
download | php-git-9ea8d8dbf61e87291f028ddec65a03d991ba6a22.tar.gz |
MFH: fix typo
-rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 54bbc1093a..5b4f0a68e9 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -754,7 +754,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) { |