mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 16:58:00 +02:00
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.
This commit is contained in:
parent
633cd9ccef
commit
6d5d65dba6
3 changed files with 11 additions and 2 deletions
|
|
@ -1,3 +1,11 @@
|
|||
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.
|
||||
|
||||
2003-02-02 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* bus/Makefile.am:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -186,7 +186,8 @@ dbus_bus_service_exists (DBusConnection *connection,
|
|||
}
|
||||
|
||||
dbus_set_result (result, DBUS_RESULT_SUCCESS);
|
||||
return (result != FALSE);
|
||||
|
||||
return (exists != FALSE);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue