CVS update: php3/functions
| From: | ssb | Date: | Tue, 06 Apr 1999 09:53:40 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4952@lists.php.net to get a copy of this message | ||
Date: Tuesday April 6, 1999 @ 5:53
Author: ssb
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv9676
Modified Files:
fsock.c
Log Message:
_php3_sock_fgets tried reading more data when a newline was found
Index: php3/functions/fsock.c
diff -c php3/functions/fsock.c:1.93 php3/functions/fsock.c:1.94
*** php3/functions/fsock.c:1.93 Thu Mar 25 09:11:04 1999
--- php3/functions/fsock.c Tue Apr 6 05:53:40 1999
***************
*** 27,33 ****
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.93 1999/03/25 14:11:04 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 27,33 ----
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
! /* $Id: fsock.c,v 1.94 1999/04/06 09:53:40 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 335,341 ****
nl = NULL;
buflen = 0;
! while (count < maxlen) {
toread = maxlen - count;
bytesread = recv(socket, buf, toread, 0);
if (bytesread <= 0) {
--- 335,341 ----
nl = NULL;
buflen = 0;
! while (count < maxlen && nl == NULL) {
toread = maxlen - count;
bytesread = recv(socket, buf, toread, 0);
if (bytesread <= 0) {
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net