cvs: php4 /ext/ftp ftp.c

From: Date: Thu, 11 Jul 2002 02:48:01 +0000
Subject: cvs: php4 /ext/ftp ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12774@lists.php.net to get a copy of this message
sniper Wed Jul 10 22:48:01 2002 EDT Modified files: /php4/ext/ftp ftp.c Log: Fix bug: #14052 Index: php4/ext/ftp/ftp.c diff -u php4/ext/ftp/ftp.c:1.50 php4/ext/ftp/ftp.c:1.51 --- php4/ext/ftp/ftp.c:1.50 Thu Jul 4 09:48:48 2002 +++ php4/ext/ftp/ftp.c Wed Jul 10 22:48:00 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.50 2002/07/04 13:48:48 sniper Exp $ */ +/* $Id: ftp.c,v 1.51 2002/07/11 02:48:00 sniper Exp $ */ #include "php.h" @@ -919,6 +919,9 @@ (ftp->inbuf[2] - '0'); memmove(ftp->inbuf, ftp->inbuf + 4, FTP_BUFSIZE - 4); + + if (ftp->extra) + ftp->extra -= 4; return 1; }

« previous php.cvs (#12774) next »