diff options
| author | Sam Varshavchik | 2020-01-23 22:02:11 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2020-01-23 22:02:11 -0500 |
| commit | 2c9cd0bc8ae38dbf18bb1ea27e31168b7b205e5d (patch) | |
| tree | 41a7941ee86704ddb070b654213380cdc1ce5795 /rfc2045 | |
| parent | 296d760c2db224567fd3b9ba15280a43fe48a6ba (diff) | |
| download | courier-libs-2c9cd0bc8ae38dbf18bb1ea27e31168b7b205e5d.tar.bz2 | |
Fix compilation warning.
Diffstat (limited to 'rfc2045')
| -rw-r--r-- | rfc2045/rfc6533.c | 4 |
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); |
