From 6274c0663e6b7b634187ace52d2a3b1f4b29584a Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Wed, 16 Jan 2008 06:44:11 +0000 Subject: 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 --- src/gsmd/sms_pdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsmd') 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; } -- cgit v1.2.3