summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/smsutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/smsutil.c b/src/smsutil.c
index 30c12506..278d335d 100644
--- a/src/smsutil.c
+++ b/src/smsutil.c
@@ -1409,7 +1409,8 @@ gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len,
int tpdu_start;
if (in->type == SMS_TYPE_DELIVER || in->type == SMS_TYPE_SUBMIT ||
- in->type == SMS_TYPE_COMMAND)
+ in->type == SMS_TYPE_COMMAND ||
+ in->type == SMS_TYPE_STATUS_REPORT)
if (!sms_encode_address_field(&in->sc_addr, TRUE, pdu, &offset))
return FALSE;