summaryrefslogtreecommitdiff
path: root/src/pdu_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdu_decode.c')
-rw-r--r--src/pdu_decode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pdu_decode.c b/src/pdu_decode.c
index 934aef5..d6ad385 100644
--- a/src/pdu_decode.c
+++ b/src/pdu_decode.c
@@ -309,9 +309,8 @@ int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octe
pdu->user_data[i] = '\0';
}
- //Only for 7-bit character sets
- if ((pdu->data_coding.general.alphabet == PDU_ALPHABET_DEFAULT) ||
- (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_DEFAULT)) {
+ //Only for GSM 7-bit character set
+ if (pdu->data_coding.general.alphabet == PDU_ALPHABET_DEFAULT) {
int read = 0;
int store = 0;