diff options
| author | Sam Varshavchik | 2014-01-12 13:26:54 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2014-01-12 13:26:54 -0500 |
| commit | 40ed34ef54ac459116e2a37b63955c75a18a9441 (patch) | |
| tree | b4239ed6454f45853de0be3c5a8266e310f7f0b1 /gpglib/list.c | |
| parent | a307e734a37763fc25778adffc2cd5c0d0390555 (diff) | |
| download | courier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2 | |
Reconfigure against the standalone unicode library.
Diffstat (limited to 'gpglib/list.c')
| -rw-r--r-- | gpglib/list.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gpglib/list.c b/gpglib/list.c index 7b58355..146c05b 100644 --- a/gpglib/list.c +++ b/gpglib/list.c @@ -16,11 +16,10 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> - +#include <unicode.h> #include "gpg.h" #include "gpglib.h" -#include "unicode/unicode.h" #include "numlib/numlib.h" extern int libmail_gpg_stdin, libmail_gpg_stdout, libmail_gpg_stderr; @@ -389,7 +388,7 @@ static int dolist_callback(char *line, void *vp1, return (-1); } - userid=libmail_u_convert_fromutf8(userid, vp->charset, NULL); + userid=unicode_convert_fromutf8(userid, vp->charset, NULL); if (!userid) return (-1); @@ -541,7 +540,7 @@ int libmail_gpg_listgroups(const char *gpgdir, if (*p == 0) continue; - q=libmail_u_convert_fromutf8(p, voidarg->charset, NULL); + q=unicode_convert_fromutf8(p, voidarg->charset, NULL); if (!q) continue; |
