summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-17 10:17:47 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-17 10:17:47 +0000
commit202448c8646d9a81017b73a70fc1b2c95b6ef01a (patch)
tree54e46c2fc88a8bed5edb6b6cc88c6f66406de6e2 /imap
parentbc05e7056743fd5163f3aae796f8c5e08c878215 (diff)
imap/UTF7 related fixes from EGE.
Diffstat (limited to 'imap')
-rw-r--r--imap/imap_private.h6
-rw-r--r--imap/util.c4
2 files changed, 5 insertions, 5 deletions
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));
}