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 /rfc822/rfc2047u.c | |
| parent | a307e734a37763fc25778adffc2cd5c0d0390555 (diff) | |
| download | courier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2 | |
Reconfigure against the standalone unicode library.
Diffstat (limited to 'rfc822/rfc2047u.c')
| -rw-r--r-- | rfc822/rfc2047u.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/rfc822/rfc2047u.c b/rfc822/rfc2047u.c index c1bc48b..dc2244e 100644 --- a/rfc822/rfc2047u.c +++ b/rfc822/rfc2047u.c @@ -9,10 +9,10 @@  #include	<string.h>  #include	<stdlib.h>  #include	<errno.h> +#include	<unicode.h>  #include	"rfc822hdr.h"  #include	"rfc2047.h" -#include	"../unicode/unicode.h"  #if LIBIDN  #include <idna.h> @@ -93,7 +93,7 @@ static void rfc822_display_addr_cb(const char *chset,  	memcpy(buf, content, cnt);  	buf[cnt]=0; -	ptr=libmail_u_convert_tobuf(buf, chset, s->chset, NULL); +	ptr=unicode_convert_tobuf(buf, chset, s->chset, NULL);  	free(buf);  	if (ptr) @@ -356,7 +356,7 @@ int rfc822_display_addr_str(const char *tok,  			(*print_func)(p, strlen(p), ptr);  		else  		{ -			char *q=libmail_u_convert_tobuf(utf8_ptr, +			char *q=unicode_convert_tobuf(utf8_ptr,  							"utf-8",  							chset, NULL);  			if (q) @@ -474,7 +474,7 @@ int rfc2047_print_unicodeaddr(const struct rfc822a *a,  			if (strchr(RFC822_SPECIALS, nbuf.bufptr[i]))  				break; -		cpbuf=libmail_u_convert_tobuf(nbuf.bufptr, "utf-8", charset, +		cpbuf=unicode_convert_tobuf(nbuf.bufptr, "utf-8", charset,  					      NULL);  		if (!cpbuf) | 
