summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-02-02 01:32:43 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-02-02 01:32:43 +0000
commit6d5d65dba6471a5fc16a0529855c3746f15bf5c6 (patch)
tree0e32d7f1b5172b012a8dee055ce449476875bb4e /dbus
parent633cd9ccef0ad31cfcb7cd9cd48a3369d27ff18a (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 'dbus')
-rw-r--r--dbus/dbus-bus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index 6372c873..a9468ed6 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -186,7 +186,8 @@ dbus_bus_service_exists (DBusConnection *connection,
}
dbus_set_result (result, DBUS_RESULT_SUCCESS);
- return (result != FALSE);
+
+ return (exists != FALSE);
}
/** @} */