From 2c9cd0bc8ae38dbf18bb1ea27e31168b7b205e5d Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Thu, 23 Jan 2020 22:02:11 -0500 Subject: Fix compilation warning. --- rfc2045/rfc6533.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rfc2045/rfc6533.c') 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); -- cgit v1.2.3