diff options
author | Guido Günther <agx@sigxcpu.org> | 2024-10-02 09:43:57 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2024-12-01 21:41:10 +0000 |
commit | eedf78d6622d09862d9e91a54358f2b56344cc22 (patch) | |
tree | b2838138a9a90637ae813c6e6bd231be69909f69 /src | |
parent | c69a64c0cb5690f4435f83f17df7376f3a60a9cf (diff) |
part: fix indent
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-cbm-part.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-cbm-part.c b/src/mm-cbm-part.c index 34bbfa55..8ac92759 100644 --- a/src/mm-cbm-part.c +++ b/src/mm-cbm-part.c @@ -125,12 +125,12 @@ mm_cbm_part_new_from_binary_pdu (const guint8 *pdu, return NULL; } cbm_part->serial = serial; - offset+=2; + offset += 2; /* Channel / Message identifier */ PDU_SIZE_CHECK (offset + 2, "cannot read channel"); cbm_part->channel = pdu[offset] << 8 | pdu[offset+1]; - offset+=2; + offset += 2; PDU_SIZE_CHECK (offset + 1, "cannot read encoding scheme"); group = pdu[offset] & CBS_DATA_CODING_GROUP_MASK; @@ -139,11 +139,11 @@ mm_cbm_part_new_from_binary_pdu (const guint8 *pdu, cbm_part->encoding = MM_SMS_ENCODING_GSM7; } else if (pdu[offset] == CBS_DATA_CODING_GSM7) { PDU_SIZE_CHECK (offset + 4, "cannot skip lang"); - offset+=3; + offset += 3; cbm_part->encoding = MM_SMS_ENCODING_GSM7; } else if (pdu[offset] == CBS_DATA_CODING_UCS2) { PDU_SIZE_CHECK (offset + 3, "cannot skip lang"); - offset+=2; + offset += 2; cbm_part->encoding = MM_SMS_ENCODING_UCS2; } else if ((group == CBS_DATA_CODING_GENERAL_CLASS) || (group == CBS_DATA_CODING_GENERAL_NO_CLASS) || |