summaryrefslogtreecommitdiffstats
path: root/src/simutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-06 17:26:06 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-06 17:26:36 -0500
commit24ded594ef9d0f0cfb05ca2403b2e08033fef82e (patch)
treeecd9937f66a09fdb7e74ac2f09a8c5d63ed933cb /src/simutil.c
parenta7cfcae752f4777eb327ef6daf1437b6c875b3c3 (diff)
downloadofono-24ded594ef9d0f0cfb05ca2403b2e08033fef82e.tar.bz2
No spaces between variable and ++/--
Diffstat (limited to 'src/simutil.c')
-rw-r--r--src/simutil.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/simutil.c b/src/simutil.c
index 7a0830ea..c941d67d 100644
--- a/src/simutil.c
+++ b/src/simutil.c
@@ -62,21 +62,21 @@ static const guint8 *ber_tlv_find_by_tag(const guint8 *pdu, guint8 in_tag,
do {
while (pdu < end && (*pdu == 0x00 || *pdu == 0xff))
- pdu ++;
+ pdu++;
if (pdu == end)
break;
- tag = *pdu ++;
+ tag = *pdu++;
if (!(0x1f & ~tag))
- while (pdu < end && (*pdu ++ & 0x80));
+ while (pdu < end && (*pdu++ & 0x80));
if (pdu == end)
break;
for (len = 0; pdu + 1 < end && (*pdu & 0x80);
- len = (len | (*pdu ++ & 0x7f)) << 7);
+ len = (len | (*pdu++ & 0x7f)) << 7);
if (*pdu & 0x80)
break;
- len |= *pdu ++;
+ len |= *pdu++;
if (tag == in_tag && pdu + len <= end) {
if (out_len)
@@ -102,8 +102,8 @@ static char *sim_network_name_parse(const unsigned char *buffer, int length,
if (length < 1)
return NULL;
- dcs = *buffer ++;
- length --;
+ dcs = *buffer++;
+ length--;
/* "The MS should add the letters for the Country's Initials and a
* separator (e.g. a space)" */