summaryrefslogtreecommitdiffstats
path: root/bus/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/driver.c')
-rw-r--r--bus/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/driver.c b/bus/driver.c
index a99d6516..71b780bb 100644
--- a/bus/driver.c
+++ b/bus/driver.c
@@ -359,7 +359,7 @@ bus_driver_handle_service_exists (DBusConnection *connection,
_DBUS_HANDLE_OOM (dbus_message_set_sender (reply, DBUS_SERVICE_DBUS));
_DBUS_HANDLE_OOM (dbus_message_append_fields (reply,
- DBUS_TYPE_UINT32, (service != NULL ? 1 : 0),
+ DBUS_TYPE_UINT32, service != NULL,
0));
_DBUS_HANDLE_OOM (dbus_connection_send_message (connection, reply, NULL, NULL));
dbus_message_unref (reply);