program/lib/Roundcube/rcube_imap_generic.php
@@ -865,7 +865,7 @@ if (!$this->fp) { $this->setError(self::ERROR_BAD, sprintf("Could not connect to %s:%d: %s", $host, $this->prefs['port'], $errstr ?: "Unknown reason")); $host, $this->prefs['port'], $errstr ? $errstr : "Unknown reason")); return false; } @@ -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) {