summaryrefslogtreecommitdiff
path: root/include/libgsmd
diff options
context:
space:
mode:
Diffstat (limited to 'include/libgsmd')
-rw-r--r--include/libgsmd/phonebook.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h
index ef82583..fbc651e 100644
--- a/include/libgsmd/phonebook.h
+++ b/include/libgsmd/phonebook.h
@@ -35,7 +35,7 @@ struct lgsm_phonebook_readrg {
/* Refer to GSM 07.07 subclause 8.14 */
/* FIXME: the nlength and tlength depend on SIM, use +CPBR=? to get */
#define LGSM_PB_NUMB_MAXLEN 44
-#define LGSM_PB_TEXT_MAXLEN (14*4)
+#define LGSM_PB_TEXT_MAXLEN 14
struct lgsm_phonebook {
int index;
char numb[LGSM_PB_NUMB_MAXLEN+1];
personal git repositories of Harald Welte. Your mileage may vary