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 /rfc2045/rfc2045decodemimesectionu.c | |
| parent | a307e734a37763fc25778adffc2cd5c0d0390555 (diff) | |
| download | courier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2 | |
Reconfigure against the standalone unicode library.
Diffstat (limited to 'rfc2045/rfc2045decodemimesectionu.c')
| -rw-r--r-- | rfc2045/rfc2045decodemimesectionu.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/rfc2045/rfc2045decodemimesectionu.c b/rfc2045/rfc2045decodemimesectionu.c index 3711b1e..1fc9e74 100644 --- a/rfc2045/rfc2045decodemimesectionu.c +++ b/rfc2045/rfc2045decodemimesectionu.c @@ -5,7 +5,7 @@  #include "rfc2045_config.h"  #include	"rfc2045.h" -#include	"../unicode/unicode.h" +#include	<unicode.h>  #include	<stdio.h>  #include	<unistd.h>  #include	<iconv.h> @@ -32,7 +32,7 @@ int rfc2045_decodetextmimesection(struct rfc2045src *src,  	const char *dummy;  	const char *src_chset; -	libmail_u_convert_handle_t ci; +	unicode_convert_handle_t ci;  	int rc;  	int dummy_flag; @@ -43,7 +43,7 @@ int rfc2045_decodetextmimesection(struct rfc2045src *src,  	*conv_err=0; -	if ((ci=libmail_u_convert_init(src_chset, mychset, handler, voidarg)) +	if ((ci=unicode_convert_init(src_chset, mychset, handler, voidarg))  	    == NULL)  	{  		*conv_err=1; @@ -53,7 +53,7 @@ int rfc2045_decodetextmimesection(struct rfc2045src *src,  	rc=rfc2045_decodemimesection(src, rfc, &myhandler, &ci);  	dummy_flag=0; -	if (libmail_u_convert_deinit(ci, &dummy_flag)) +	if (unicode_convert_deinit(ci, &dummy_flag))  		rc= -1;  	if (dummy_flag) @@ -63,6 +63,6 @@ int rfc2045_decodetextmimesection(struct rfc2045src *src,  static int myhandler(const char *cp, size_t cnt, void *voidarg)  { -	return libmail_u_convert(*(libmail_u_convert_handle_t *) +	return unicode_convert(*(unicode_convert_handle_t *)  				 voidarg, cp, cnt);  } | 
