summaryrefslogtreecommitdiff
path: root/ext/ftp/tests/server.inc
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-11-24 20:18:54 +0000
committerNuno Lopes <nlopess@php.net>2006-11-24 20:18:54 +0000
commite8384cbccad5dfa39ea6932308ae7477ef99d853 (patch)
tree36e373feaa018454ed3b66cc890bc9d0df3f6396 /ext/ftp/tests/server.inc
parentd64b17543cfa5e171ca493eb3581eea0acd42dba (diff)
downloadphp-git-e8384cbccad5dfa39ea6932308ae7477ef99d853.tar.gz
more tests
Diffstat (limited to 'ext/ftp/tests/server.inc')
-rw-r--r--ext/ftp/tests/server.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/tests/server.inc b/ext/ftp/tests/server.inc
index c2eef56980..7480d5c588 100644
--- a/ext/ftp/tests/server.inc
+++ b/ext/ftp/tests/server.inc
@@ -187,7 +187,7 @@ while($buf = fread($s, 4098)) {
if (isset($ascii) && !$ascii && $orig === $data) {
fputs($s, "226 Closing data Connection.\r\n");
- } elseif (!empty($ascii) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n"))) {
+ } elseif ((!empty($ascii) || isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n"))) {
fputs($s, "226 Closing data Connection.\r\n");
} else {