mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Remove this; it should not have been commited
This commit is contained in:
parent
479aa767f5
commit
0989e7bb41
@ -601,7 +601,7 @@ static inline void dump_sock_state(char *msg, php_netstream_data_t *sock TSRMLS_
|
||||
|
||||
static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock TSRMLS_DC)
|
||||
{
|
||||
fd_set fdr, tfdr, fdx;
|
||||
fd_set fdr, tfdr;
|
||||
int retval;
|
||||
struct timeval timeout, *ptimeout;
|
||||
|
||||
@ -617,12 +617,11 @@ static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data
|
||||
|
||||
while(1) {
|
||||
tfdr = fdr;
|
||||
fdx = fdr;
|
||||
timeout = sock->timeout;
|
||||
|
||||
DUMP_SOCK_STATE("wait_for_data", sock);
|
||||
|
||||
retval = select(sock->socket + 1, &tfdr, NULL, &fdx, ptimeout);
|
||||
retval = select(sock->socket + 1, &tfdr, NULL, NULL, ptimeout);
|
||||
|
||||
if (retval == 0)
|
||||
sock->timeout_event = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user