|
|
@ -761,7 +761,7 @@ PHP_FUNCTION(stream_select) |
|
|
|
|
|
|
|
|
/* If seconds is not set to null, build the timeval, else we wait indefinitely */ |
|
|
/* If seconds is not set to null, build the timeval, else we wait indefinitely */ |
|
|
if (sec != NULL) { |
|
|
if (sec != NULL) { |
|
|
convert_to_long_ex(&sec); |
|
|
|
|
|
|
|
|
convert_to_long(sec); |
|
|
|
|
|
|
|
|
/* Solaris + BSD do not like microsecond values which are >= 1 sec */ |
|
|
/* Solaris + BSD do not like microsecond values which are >= 1 sec */ |
|
|
if (usec > 999999) { |
|
|
if (usec > 999999) { |
|
|
|