smsutil: status reports also lead with SC_ADDR

This commit is contained in:
Denis Kenzior 2010-06-04 11:50:26 -05:00
parent 56d14e1fe1
commit 69e5a65d34
1 changed files with 2 additions and 1 deletions

View File

@ -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;