diff options
author | Stanislav Malyshev <stas@php.net> | 2015-05-31 17:23:06 -0700 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2015-06-01 10:49:19 +0200 |
commit | 8b7149636a9a3fb344ff7a970ef13c5a672fa08a (patch) | |
tree | 01c7ae09307df8d694c36bb29edef7213f31e980 | |
parent | 5845f309b7e762b85a8185a4483719c2e3b044ec (diff) | |
download | php-git-8b7149636a9a3fb344ff7a970ef13c5a672fa08a.tar.gz |
improve fix for Bug #69545
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 4e1b072246..d40e964b7f 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1663,8 +1663,6 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC) for (ptr = data->buf; rcvd; rcvd--, ptr++) { if (*ptr == '\n' && lastch == '\r') { lines++; - } else { - size++; } lastch = *ptr; } |