Remove this; it should not have been commited

This commit is contained in:
Wez Furlong 2002-04-30 00:20:34 +00:00
parent 479aa767f5
commit 0989e7bb41

View File

@ -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;