summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/usock.h2
-rw-r--r--include/libgsmd/phonebook.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index f6d5250..48f5fee 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
+#define GSMD_PB_TEXT_MAXLEN (14*4)
struct gsmd_phonebook {
int8_t index;
char numb[GSMD_PB_NUMB_MAXLEN+1];
diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h
index fbc651e..ef82583 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
+#define LGSM_PB_TEXT_MAXLEN (14*4)
struct lgsm_phonebook {
int index;
char numb[LGSM_PB_NUMB_MAXLEN+1];
personal git repositories of Harald Welte. Your mileage may vary