]> granicus.if.org Git - php/commitdiff
Fix bug: #14052
authorfoobar <sniper@php.net>
Thu, 11 Jul 2002 02:48:00 +0000 (02:48 +0000)
committerfoobar <sniper@php.net>
Thu, 11 Jul 2002 02:48:00 +0000 (02:48 +0000)
ext/ftp/ftp.c

index 575cb40f45e62f475af54e0a06884769273ad76b..97d24f349a398736f165ae59e3b74cac88971d1f 100644 (file)
@@ -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;
 }
 /* }}} */