summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-16 06:44:11 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-16 06:44:11 +0000
commit6274c0663e6b7b634187ace52d2a3b1f4b29584a (patch)
tree760a7c97115b92c41cbad623ee1389f771b6441a /src
parent71dfac82831d431a9e90ccce08c61322b1c14036 (diff)
gsmd: update sms pdu len and fix typos (Wang Yanke)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3853 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src')
-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