summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-17 08:35:53 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-17 08:35:53 +0000
commit9b7916395e21e4efe3d0fc76adad30c3b1f169be (patch)
tree3a028dee93465cd2a5461055a8300d9db7b56855 /include/gsmd
parent6274c0663e6b7b634187ace52d2a3b1f4b29584a (diff)
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
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/usock.h7
1 files changed, 5 insertions, 2 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary