summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-05-31 17:23:06 -0700
committerFerenc Kovacs <tyrael@php.net>2015-06-01 10:49:19 +0200
commit8b7149636a9a3fb344ff7a970ef13c5a672fa08a (patch)
tree01c7ae09307df8d694c36bb29edef7213f31e980
parent5845f309b7e762b85a8185a4483719c2e3b044ec (diff)
downloadphp-git-8b7149636a9a3fb344ff7a970ef13c5a672fa08a.tar.gz
improve fix for Bug #69545
-rw-r--r--ext/ftp/ftp.c2
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;
}