diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-06-04 11:50:26 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-04 14:21:57 -0500 |
commit | 69e5a65d344d3184ddc7503de219ddafa1b0c20e (patch) | |
tree | 34cfd864941f95295ae69363f6242b56b1a8efc2 /src/smsutil.c | |
parent | 56d14e1fe17c5216b870c71f3c2687ad2eb2df4e (diff) | |
download | ofono-69e5a65d344d3184ddc7503de219ddafa1b0c20e.tar.bz2 |
smsutil: status reports also lead with SC_ADDR
Diffstat (limited to 'src/smsutil.c')
-rw-r--r-- | src/smsutil.c | 3 |
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; |