summaryrefslogtreecommitdiffstats
path: root/rfc2045/rfc6533.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2045/rfc6533.c')
-rw-r--r--rfc2045/rfc6533.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc2045/rfc6533.c b/rfc2045/rfc6533.c
index 529da45..ef1b9a2 100644
--- a/rfc2045/rfc6533.c
+++ b/rfc2045/rfc6533.c
@@ -190,12 +190,12 @@ static int decode_rfc6533(const char *address,
err=0;
if (unicode_convert_fromu_tobuf(&c, 1, "utf-8",
&p, &ignore1, &err))
- return NULL;
+ return 0;
if (err)
{
free(p);
- return NULL;
+ return 0;
}
(*callback)(p, strlen(p), arg);
free(p);