From f09683fc892f0782d481f2b6c63b9026d3b0e3b3 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 4 Jun 2009 16:17:29 -0500 Subject: SMS-Command is also submitted with sc address --- 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 97a75259..6bbb57d1 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -1221,7 +1221,8 @@ gboolean encode_sms(const struct sms *in, int *len, int *tpdu_len, int offset = 0; int tpdu_start; - if (in->type == SMS_TYPE_DELIVER || in->type == SMS_TYPE_SUBMIT) + if (in->type == SMS_TYPE_DELIVER || in->type == SMS_TYPE_SUBMIT || + in->type == SMS_TYPE_COMMAND) if (!encode_address(&in->sc_addr, TRUE, pdu, &offset)) return FALSE; -- cgit v1.2.3