Ignore untagged responses when fetching BODYSTRUCTURE (patch by B. Johannessen)

release-0.6
thomascube 16 years ago
parent f92aba3918
commit e1367cf1a6

@ -2575,6 +2575,8 @@ function iil_C_FetchStructureString(&$conn, $folder, $id) {
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));

Loading…
Cancel
Save