Fix: Don't return NULL if message is empty

Empty SMS messages are in sms_decode_text are returned as NULL, e.g.
error.  This shouldn't be the case, empty messages should be reported
and signaled.
This commit is contained in:
Denis Kenzior 2009-10-16 13:19:11 -05:00
parent 281065e249
commit eb2c60469c
1 changed files with 0 additions and 5 deletions

View File

@ -2190,11 +2190,6 @@ char *sms_decode_text(GSList *sms_list)
utf8 = g_string_free(str, FALSE);
if (strlen(utf8) == 0) {
g_free(utf8);
return NULL;
}
return utf8;
}