From: Pasi Miettinen <[email protected]>
---
src/sms.c | 25 ++++++++++++++-----------
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/src/sms.c b/src/sms.c
index de2d367..6bca8cd 100644
--- a/src/sms.c
+++ b/src/sms.c
@@ -472,7 +472,8 @@ 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(text, 0, TRUE, &ref_offset,
ask_status_report);
+ msg_list = sms_text_prepare(text, 0, TRUE, &ref_offset,
+ ask_status_report);
if (!msg_list)
return __ofono_error_invalid_format(msg);
@@ -509,12 +510,12 @@ static DBusMessage *sms_send_message(DBusConnection
*conn, DBusMessage *msg,
}
static GDBusMethodTable sms_manager_methods[] = {
- { "GetProperties", "", "a{sv}", sms_get_properties,
-
G_DBUS_METHOD_FLAG_ASYNC },
- { "SetProperty", "sv", "", sms_set_property,
-
G_DBUS_METHOD_FLAG_ASYNC },
- { "SendMessage", "ssb", "", sms_send_message,
-
G_DBUS_METHOD_FLAG_ASYNC },
+ { "GetProperties", "", "a{sv}", sms_get_properties,
+ G_DBUS_METHOD_FLAG_ASYNC },
+ { "SetProperty", "sv", "", sms_set_property,
+ G_DBUS_METHOD_FLAG_ASYNC },
+ { "SendMessage", "ssb", "", sms_send_message,
+ G_DBUS_METHOD_FLAG_ASYNC },
{ }
};
@@ -636,7 +637,7 @@ static void update_pending_status_report_mr_number(struct
ofono_sms *sms,
whole message is declared undelivered*/
if(current_mr->mr == mr &&
status_report_state ==
-
SMS_STATUS_REPORT_MESSAGE_NOT_DELIVERED) {
+ SMS_STATUS_REPORT_MESSAGE_NOT_DELIVERED) {
DBG("SMS-STATUS-REPORT: message %d not "\
"delivered", status_report_mr_numbers-> \
@@ -748,7 +749,8 @@ static void dispatch_sms_status_report(struct ofono_sms
*sms,
strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", &local);
buf[127] = '\0';
- ofono_dbus_dict_append(&dict, "LocalDeliverTime", DBUS_TYPE_STRING,
&str);
+ ofono_dbus_dict_append(&dict, "LocalDeliverTime",
+ DBUS_TYPE_STRING, &str);
/*Status*/
if(*st==0x00){
@@ -763,7 +765,7 @@ static void dispatch_sms_status_report(struct ofono_sms
*sms,
ofono_dbus_dict_append(&dict, "Message was not delivered to",
DBUS_TYPE_STRING, &str);
update_pending_status_report_mr_number(sms, mr,
-
SMS_STATUS_REPORT_MESSAGE_NOT_DELIVERED);
+ SMS_STATUS_REPORT_MESSAGE_NOT_DELIVERED);
}
/*dbus-message assembled*/
@@ -927,7 +929,8 @@ static void handle_deliver(struct ofono_sms *sms, const
struct sms *incoming)
g_slist_free(l);
}
-static void handle_sms_status_report(struct ofono_sms *sms, const struct sms
*incoming)
+static void handle_sms_status_report(struct ofono_sms *sms,
+ const struct sms *incoming)
{
GSList *l;
--
1.6.0.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono