summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-13 10:07:38 +0000
committeralecpl <alec@alec.pl>2009-05-13 10:07:38 +0000
commit6748044273beff92240c317947d6ee95305bf531 (patch)
tree7038cd6e0a311cb7d4971b9932276a05ccb825ef /program
parent27924acf437df92c4e6e88e79bd28a58e6ea4aaa (diff)
- handle one convert_uudecode() warning
Diffstat (limited to 'program')
-rw-r--r--program/lib/imap.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 2427e4652..61ba22414 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -2418,6 +2418,8 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part='', $encoding=NULL, $
else
$result .= quoted_printable_decode($line);
} else if ($mode == 3) {
+ if ($line == 'end')
+ continue;
if ($file)
fwrite($file, convert_uudecode($line));
else if ($print)