stkutil: Minor style fixes

This commit is contained in:
Denis Kenzior 2010-11-25 17:58:37 -06:00
parent 9b690aad40
commit cd281f4454
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ static char *decode_text(unsigned char dcs, int len, const unsigned char *data)
char *utf8;
enum sms_charset charset;
if (!sms_dcs_decode(dcs, NULL, &charset, NULL, NULL))
if (sms_dcs_decode(dcs, NULL, &charset, NULL, NULL) == FALSE)
return NULL;
switch (charset) {
@ -91,7 +91,7 @@ static char *decode_text(unsigned char dcs, int len, const unsigned char *data)
max_to_unpack,
&written, 0);
if (unpacked == NULL)
return FALSE;
return NULL;
utf8 = convert_gsm_to_utf8(unpacked, written,
NULL, NULL, 0);