mirror of git://git.sysmocom.de/ofono
stkutil: Minor style fixes
This commit is contained in:
parent
9b690aad40
commit
cd281f4454
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue