--- src/sms.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/sms.c b/src/sms.c index 7224bdf..48d2d81 100644 --- a/src/sms.c +++ b/src/sms.c @@ -842,7 +842,6 @@ static DBusMessage *sms_send_message(DBusConnection *conn, DBusMessage *msg, GSList *msg_list; struct ofono_modem *modem; unsigned int flags; - gboolean use_16bit_ref = FALSE; int err; struct ofono_uuid uuid; @@ -854,7 +853,7 @@ static DBusMessage *sms_send_message(DBusConnection *conn, DBusMessage *msg, if (valid_phone_number_format(to) == FALSE) return __ofono_error_invalid_format(msg); - msg_list = sms_text_prepare(to, text, sms->ref, use_16bit_ref, + msg_list = sms_text_prepare(to, text, sms->ref, main_opts.use_16bit_ref, sms->use_delivery_reports); if (msg_list == NULL) -- 1.7.1 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono