From 9b7916395e21e4efe3d0fc76adad30c3b1f169be Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Thu, 17 Jan 2008 08:35:53 +0000 Subject: gsmd: fix CMT_parse comma error (Sean Chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3861 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/usock.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/gsmd') diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index 2072b54..2591500 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -386,6 +386,8 @@ struct gsmd_voicemail { struct gsmd_addr addr; } __attribute__ ((packed)); +#define GSMD_ALPHA_MAXLEN 20 + /* call status from 3GPP TS 07.07 clause 07.17 */ struct gsmd_call_status { int8_t idx; @@ -395,7 +397,7 @@ struct gsmd_call_status { u_int8_t mpty; char number[GSMD_ADDR_MAXLEN+1]; u_int8_t type; - char alpha[8+1]; + char alpha[GSMD_ALPHA_MAXLEN+1]; int is_last; } __attribute__ ((packed)); @@ -441,6 +443,7 @@ struct gsmd_evt_auxdata { struct gsmd_addr addr; } colp; struct { + char alpha[GSMD_ALPHA_MAXLEN+1]; int inlined; u_int8_t memtype; int index; @@ -490,7 +493,7 @@ struct gsmd_evt_auxdata { struct { struct gsmd_addr addr; u_int8_t classx; - char alpha[16]; + char alpha[GSMD_ALPHA_MAXLEN+1]; u_int8_t cli; } ccwa; } u; -- cgit v1.2.3