diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-11-25 17:58:37 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-25 17:58:37 -0600 |
commit | cd281f4454a7f2e1ab316b08c89259186f5ebe85 (patch) | |
tree | 2888b032c7128443a0e97f17e1d0610f8a234718 /src | |
parent | 9b690aad40a3c39e9e46fc26beb0e3f43af6a997 (diff) | |
download | ofono-cd281f4454a7f2e1ab316b08c89259186f5ebe85.tar.bz2 |
stkutil: Minor style fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/stkutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stkutil.c b/src/stkutil.c index 78efbf0b..9f3d5053 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -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); |