summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-09-26 22:52:31 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2011-09-26 22:52:31 +0000
commit943399bce86a0141daacdd5d1e2f62f2362cbfe9 (patch)
tree63bd1844c4a8ee041dba6503d0d2ed3b2216edd5 /lisp/gnus/nnimap.el
parent2146e25680a961dbeca560622945b50e56800a4a (diff)
downloademacs-943399bce86a0141daacdd5d1e2f62f2362cbfe9.tar.gz
nnimap.el (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 49cceaacf92..77372c246cb 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -672,12 +672,13 @@ textual parts.")
(if (consp (caar structure))
(nnimap-insert-partial-structure (pop structure) parts t)
(let ((bit (pop structure)))
- (insert (format "Content-type: %s/%s"
- (downcase (nth 0 bit))
- (downcase (nth 1 bit))))
- (if (member "CHARSET" (nth 2 bit))
+ (insert (format "Content-type: %s/%s"
+ (downcase (nth 0 bit))
+ (downcase (nth 1 bit))))
+ (if (member-ignore-case "CHARSET" (nth 2 bit))
(insert (format
- "; charset=%S\n" (cadr (member "CHARSET" (nth 2 bit)))))
+ "; charset=%S\n"
+ (cadr (member-ignore-case "CHARSET" (nth 2 bit)))))
(insert "\n"))
(insert (format "Content-transfer-encoding: %s\n"
(nth 5 bit)))