From 69e5a65d344d3184ddc7503de219ddafa1b0c20e Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 4 Jun 2010 11:50:26 -0500 Subject: smsutil: status reports also lead with SC_ADDR --- src/smsutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3