diff options
Diffstat (limited to 'include/gsmd')
-rw-r--r-- | include/gsmd/usock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index 48f5fee..f6d5250 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -638,7 +638,7 @@ struct gsmd_phonebook_readrg { /* Refer to GSM 07.07 subclause 8.14 */ /* FIXME: the nlength and tlength depend on SIM, use +CPBR=? to get */ #define GSMD_PB_NUMB_MAXLEN 44 -#define GSMD_PB_TEXT_MAXLEN (14*4) +#define GSMD_PB_TEXT_MAXLEN 14 struct gsmd_phonebook { int8_t index; char numb[GSMD_PB_NUMB_MAXLEN+1]; |