Skip to content

Commit e5d42fb

Browse files
author
jkbzh
committed
18n_replace_non_ascii_chars() was being called in parse.c even if
ICONV_H was not true closes #86
1 parent 804cd14 commit e5d42fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/parse.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,9 +1087,11 @@ static char *mdecodeRFC2047(char *string, int length, char *charsetsave)
10871087
}
10881088
else {
10891089
free(storage);
1090+
#ifdef HAVE_ICONV
10901091
/* make sure there are only ascii chars in the string
10911092
** for messages that don't respect rfc2047 */
10921093
i18n_replace_non_ascii_chars(string);
1094+
#endif
10931095
return string;
10941096
}
10951097
}

0 commit comments

Comments
 (0)