Re: Patch for #21330 - socket_select()

From: Date: Thu, 02 Jan 2003 17:09:04 +0000
Subject: Re: Patch for #21330 - socket_select()
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-93051@lists.php.net to get a copy of this message
It's also broken as it will not allow for a null value to give an infinite wait period. --Wez. On Thu, 2 Jan 2003, Tularis wrote: > if (sec != NULL || sec != 0) { > convert_to_long_ex(&sec); > tv.tv_sec = Z_LVAL_P(sec); > tv.tv_usec = usec; > } else { > tv.tv_sec = 0; > tv.tv_usec = 0; > } > tv_p = &tv; > > But, as I said it's just a fashion statement, and nothing important... > let stand that it will make *any* difference ;) > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.dev (#93051) next »