GSM to UTF8 should accept empty strings

This commit is contained in:
Denis Kenzior 2009-07-06 15:09:32 -05:00
parent a8138acce5
commit ee38e24040
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ char *convert_gsm_to_utf8(const unsigned char *text, long len,
long i = 0;
long res_length;
if (len == 0 || (len < 0 && !terminator))
if (len < 0 && !terminator)
goto err_out;
if (len < 0) {