summaryrefslogtreecommitdiffstats
path: root/imap/imapd.c
diff options
context:
space:
mode:
authorSam Varshavchik2014-01-12 13:26:54 -0500
committerSam Varshavchik2014-01-12 13:26:54 -0500
commit40ed34ef54ac459116e2a37b63955c75a18a9441 (patch)
treeb4239ed6454f45853de0be3c5a8266e310f7f0b1 /imap/imapd.c
parenta307e734a37763fc25778adffc2cd5c0d0390555 (diff)
downloadcourier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2
Reconfigure against the standalone unicode library.
Diffstat (limited to 'imap/imapd.c')
-rw-r--r--imap/imapd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/imap/imapd.c b/imap/imapd.c
index 497850d..ad9f455 100644
--- a/imap/imapd.c
+++ b/imap/imapd.c
@@ -85,7 +85,7 @@
#include "maildir/maildirinfo.h"
#include "maildir/loginexec.h"
-#include "unicode/unicode.h"
+#include <unicode.h>
#include "maildir/maildirkeywords.h"
#include "courierauth.h"
@@ -4115,14 +4115,14 @@ int folder_rename(struct maildir_info *mi1,
static int validate_charset(const char *tag, char **charset)
{
- libmail_u_convert_handle_t conv;
+ unicode_convert_handle_t conv;
unicode_char *ucptr;
size_t ucsize;
if (*charset == NULL)
*charset=my_strdup("ISO-8859-1");
- conv=libmail_u_convert_tou_init(*charset, &ucptr, &ucsize, 1);
+ conv=unicode_convert_tou_init(*charset, &ucptr, &ucsize, 1);
if (!conv)
{
@@ -4130,7 +4130,7 @@ static int validate_charset(const char *tag, char **charset)
writes(" NO [BADCHARSET] The requested character set is not supported.\r\n");
return (-1);
}
- if (libmail_u_convert_deinit(conv, NULL) == 0)
+ if (unicode_convert_deinit(conv, NULL) == 0)
free(ucptr);
return (0);
}