summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorBartlomiej Nogas <bart.nogas@gmail.com>2014-10-24 12:23:33 +0200
committerBartlomiej Nogas <bart.nogas@gmail.com>2014-10-24 12:29:36 +0200
commita235f79df9b3e94e52e22008e9af858e094fd25f (patch)
tree5ad07be410795722a898cb23c87f6c70bd13faaa /program/lib/Roundcube
parentbf9c9b3e38f984b5cca82d869252900963466b98 (diff)
Fix of really fix UNKNOWN-CTE handling
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 63d4f0690..d78b526dd 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -2569,7 +2569,6 @@ class rcube_imap_generic
return false;
}
- $initiated = false;
$binary = true;
do {
@@ -2732,7 +2731,7 @@ class rcube_imap_generic
}
}
}
- } while (!$this->startsWith($line, $key, true));
+ } while (!$this->startsWith($line, $key, true) || !$initiated);
if ($result !== false) {
if ($file) {