diff options
author | Anders Carlsson <andersca@codefactory.se> | 2003-02-02 01:32:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@codefactory.se> | 2003-02-02 01:32:43 +0000 |
commit | 6d5d65dba6471a5fc16a0529855c3746f15bf5c6 (patch) | |
tree | 0e32d7f1b5172b012a8dee055ce449476875bb4e /bus | |
parent | 633cd9ccef0ad31cfcb7cd9cd48a3369d27ff18a (diff) |
2003-02-02 Anders Carlsson <set EMAIL_ADDRESS environment variable>
* bus/driver.c: (bus_driver_handle_service_exists):
Simplify the code a bit.
* dbus/dbus-bus.c: (dbus_bus_service_exists):
Fix a silly.
Diffstat (limited to 'bus')
-rw-r--r-- | bus/driver.c | 2 |
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); |