diff options
-rw-r--r-- | include/libgsmd/sms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libgsmd/sms.h b/include/libgsmd/sms.h index 7795394..46348df 100644 --- a/include/libgsmd/sms.h +++ b/include/libgsmd/sms.h @@ -84,7 +84,7 @@ enum lgsm_tp_status { #define LGSM_SMS_ADDR_MAXLEN 12 #define LGSM_SMS_DATA_MAXLEN 140 struct lgsm_sms { - char addr[LGSM_SMS_ADDR_MAXLEN+1]; + char addr[LGSM_SMS_ADDR_MAXLEN*2+1]; /* FIXME: max length of data, * 7 bit coding - 160(140*8/7); ucs2 coding - 70(140/2) */ enum gsmd_sms_alphabet alpha; |