thomascube
2008-07-31 e1367cf1a6d2ea857c57ad1677de1a8f0c1f1a3e
Ignore untagged responses when fetching BODYSTRUCTURE (patch by B. Johannessen)

1 files modified
2 ■■■■■ changed files
program/lib/imap.inc 2 ●●●●● patch | view | raw | blame | history
program/lib/imap.inc
@@ -2575,6 +2575,8 @@
            do {
                $line = iil_ReadLine($fp, 5000);
                $line = iil_MultLine($fp, $line);
                list(, $index, $rest) = explode(' ', $line);
                if ($index == $id || preg_match("/^$key/", $line))
                $result .= $line;
            } while (!preg_match("/^$key/", $line));