Commit 37ec692a authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(rmail-convert-to-babyl-format): Fix off-by-one

error in arguments to base64-decode-region.  Remove ^M characters
after decoding base64.
parent 630dd250
2003-12-30 Eli Zaretskii <eliz@elta.co.il>
* mail/rmail.el (rmail-convert-to-babyl-format): Fix off-by-one
error in arguments to base64-decode-region. Remove ^M characters
after decoding base64.
2003-12-30 Simon Josefsson <jas@extundo.com>
* textmodes/texinfo.el: Change maintainer to FSF. Suggested by
......
......@@ -1836,9 +1836,12 @@ It returns t if it got any new messages."
(when
(condition-case nil
(progn
(base64-decode-region header-end (point))
(base64-decode-region (1+ header-end) (point))
t)
(error nil))
(goto-char header-end)
(while (search-forward "\r\n" (point-max) t)
(replace-match "\n"))
;; Change "base64" to "8bit", to reflect the
;; decoding we just did.
(goto-char base64-header-field-end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment