summaryrefslogtreecommitdiffstats
path: root/src/smsutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-06-04 11:50:26 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-06-04 14:21:57 -0500
commit69e5a65d344d3184ddc7503de219ddafa1b0c20e (patch)
tree34cfd864941f95295ae69363f6242b56b1a8efc2 /src/smsutil.c
parent56d14e1fe17c5216b870c71f3c2687ad2eb2df4e (diff)
downloadofono-69e5a65d344d3184ddc7503de219ddafa1b0c20e.tar.bz2
smsutil: status reports also lead with SC_ADDR
Diffstat (limited to 'src/smsutil.c')
-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;