From 281ca0ea2a368a5ecd62344bffaa4b4a5986db9e Mon Sep 17 00:00:00 2001 From: Bartlomiej Nogas <bart.nogas@gmail.com> Date: Fri, 24 Oct 2014 07:01:54 -0400 Subject: [PATCH] Fix of really fix UNKNOWN-CTE handling --- program/lib/Roundcube/rcube_imap_generic.php | 3 +-- 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 4941859..efdf087 100644 --- a/program/lib/Roundcube/rcube_imap_generic.php +++ b/program/lib/Roundcube/rcube_imap_generic.php @@ -2530,7 +2530,6 @@ return false; } - $initiated = false; $binary = true; do { @@ -2693,7 +2692,7 @@ } } } - } while (!$this->startsWith($line, $key, true)); + } while (!$this->startsWith($line, $key, true) || !$initiated); if ($result !== false) { if ($file) { -- Gitblit v1.9.1