program/lib/imap.inc | ●●●●● patch | view | raw | blame | history |
program/lib/imap.inc
@@ -2270,7 +2270,7 @@ } else $prev = ''; if ($file) fwrite($file, base64_decode($line)); else if ($print) @@ -2306,7 +2306,6 @@ } } } // read in anything up until last line if (!$end) do { @@ -2314,18 +2313,17 @@ } while (!iil_StartsWith($line, $key, true)); if ($result) { $result = rtrim($result, "\t\r\n\0\x0B"); if ($file) { fwrite($file, $result); } else if ($print) { echo $result; } else return $result; // substr($result, 0, strlen($result)-1); return $result; return true; } } return false; }