From 4d69e91806416ea650bc9e9ee7d841412df54ea3 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 11 Jul 2002 02:48:00 +0000 Subject: [PATCH] Fix bug: #14052 --- ext/ftp/ftp.c | 3 +++ 1 file changed, 3 insertions(+) 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; } /* }}} */ -- 2.40.0