summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 7b06e6d9..25ea3533 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -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,