summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-10 13:14:27 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-10 16:41:31 -0600
commit4b81513d955501f42132176dab5ab6f6dd5594dc (patch)
tree6e6fc547b323ae0ae8956d78d0568572a8625890 /src
parent813470a0259c5bd7e990e39d241f7cf7937e75a7 (diff)
downloadofono-4b81513d955501f42132176dab5ab6f6dd5594dc.tar.bz2
Style: if statement
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,