From ad5d1b218581637cefa72e0d2a423f0c24e5ce29 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 17 Jul 2000 10:17:47 +0000 Subject: [PATCH] imap/UTF7 related fixes from EGE. --- imap/imap_private.h | 6 +++--- imap/util.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/imap/imap_private.h b/imap/imap_private.h index 0999deb94..92284f20d 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 3a6d1540e..e118c87d0 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)); } -- 2.40.0