From: foobar Date: Thu, 11 Jul 2002 02:48:00 +0000 (+0000) Subject: Fix bug: #14052 X-Git-Tag: dev~364 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d69e91806416ea650bc9e9ee7d841412df54ea3;p=php Fix bug: #14052 --- diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 575cb40f45..97d24f349a 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -920,6 +920,9 @@ ftp_getresp(ftpbuf_t *ftp) memmove(ftp->inbuf, ftp->inbuf + 4, FTP_BUFSIZE - 4); + if (ftp->extra) + ftp->extra -= 4; + return 1; } /* }}} */