Style: if statement
authorDenis Kenzior <denkenz@gmail.com>
Wed, 10 Feb 2010 19:14:27 +0000 (13:14 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 10 Feb 2010 22:41:31 +0000 (16:41 -0600)
src/voicecall.c

index 7b06e6d..25ea353 100644 (file)
@@ -198,8 +198,9 @@ static DBusMessage *voicecall_get_properties(DBusConnection *conn,
                                DBUS_TYPE_STRING, &callerid);
 
        if (call->status == CALL_STATUS_ACTIVE ||
-               (call->status == CALL_STATUS_DISCONNECTED && v->start_time != 0) ||
-               call->status == CALL_STATUS_HELD) {
+                       call->status == CALL_STATUS_HELD ||
+                       (call->status == CALL_STATUS_DISCONNECTED &&
+                               v->start_time != 0)) {
                timestr = time_to_str(&v->start_time);
 
                ofono_dbus_dict_append(&dict, "StartTime", DBUS_TYPE_STRING,