From: Thomas Roessler Date: Mon, 17 Jul 2000 10:17:47 +0000 (+0000) Subject: imap/UTF7 related fixes from EGE. X-Git-Tag: mutt-1-3-6-rel~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=202448c8646d9a81017b73a70fc1b2c95b6ef01a;p=mutt imap/UTF7 related fixes from EGE. --- diff --git a/imap/imap_private.h b/imap/imap_private.h index 0999deb9..92284f20 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -211,8 +211,8 @@ void imap_munge_mbox_name (char *dest, size_t dlen, const char *src); void imap_unmunge_mbox_name (char *s); int imap_wordcasecmp(const char *a, const char *b); -/* utf8.c */ -void mutt_utf7_encode (char **s); -void mutt_utf7_decode (char **s); +/* utf7.c */ +void imap_utf7_encode (char **s); +void imap_utf7_decode (char **s); #endif diff --git a/imap/util.c b/imap/util.c index 3a6d1540..e118c87d 100644 --- a/imap/util.c +++ b/imap/util.c @@ -318,7 +318,7 @@ void imap_munge_mbox_name (char *dest, size_t dlen, const char *src) char *buf; buf = safe_strdup (src); - mutt_utf7_encode (&buf); + imap_utf7_encode (&buf); imap_quote_string (dest, dlen, buf); @@ -334,7 +334,7 @@ void imap_unmunge_mbox_name (char *s) buf = safe_strdup (s); if (buf) { - mutt_utf7_decode (&buf); + imap_utf7_decode (&buf); strncpy (s, buf, strlen (s)); }