summaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-03 14:33:38 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-03 14:33:38 +0200
commit0ec3a1f6f59f0055f51223fa9f513c2ce289d0d8 (patch)
tree0f0f994cc750953a94d95eae6210b44834d65f7e /utils.c
parent3ba458b87c1974f26e9b50835c3c8e3cabb60a25 (diff)
downloadhardware_ril_samsung-ril-0ec3a1f6f59f0055f51223fa9f513c2ce289d0d8.zip
hardware_ril_samsung-ril-0ec3a1f6f59f0055f51223fa9f513c2ce289d0d8.tar.gz
hardware_ril_samsung-ril-0ec3a1f6f59f0055f51223fa9f513c2ce289d0d8.tar.bz2
little fixes
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 80b95e7..214f46f 100644
--- a/utils.c
+++ b/utils.c
@@ -111,7 +111,7 @@ int ascii2gsm7_ussd(char *data, unsigned char **data_enc, int length)
enc_length = ((length * 7) - (length * 7) % 8) / 8;
enc_length += (length * 7) % 8 > 0 ? 1 : 0;
- //FIXME: why does samsung does that?
+ // FIXME: why does Samsung do this?
enc_length++;
enc = malloc(enc_length);
@@ -140,7 +140,7 @@ int ascii2gsm7_ussd(char *data, unsigned char **data_enc, int length)
*data_enc = enc;
- //FIXME: what is going on here?
+ // FIXME: what is going on here?
enc[enc_length - 2] |= 0x30;
enc[enc_length - 1] = 0x02;