summaryrefslogtreecommitdiff
path: root/src/gsmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsmd')
-rw-r--r--src/gsmd/sms_pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsmd/sms_pdu.c b/src/gsmd/sms_pdu.c
index 3d88663..b5774d8 100644
--- a/src/gsmd/sms_pdu.c
+++ b/src/gsmd/sms_pdu.c
@@ -46,7 +46,7 @@ static int sms_data_bytelen(u_int8_t data_coding_scheme, u_int8_t len)
case ALPHABET_8BIT:
return len;
case ALPHABET_UCS2:
- return len * 2;
+ return len;
}
return 0;
}
personal git repositories of Harald Welte. Your mileage may vary