summaryrefslogtreecommitdiffstats
path: root/bus/services.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-03-26 03:58:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-03-26 03:58:11 +0000
commit90ed1d84588a84697051e643175452c50d682ece (patch)
treea8ee3ecb05c584194d5c74e98038c24e5fdabe9b /bus/services.c
parent17e82f5728d3fc8abd41c816b1c34c506339c7a7 (diff)
2003-03-25 Havoc Pennington <hp@redhat.com>
* throughout - add more _DBUS_ASSERT_ERROR_IS_CLEAR * configure.in: add --with-xml option to specify XML library, right now only libxml is supported. * bus/config-loader-libxml.c, config-parser.c: sync some minor nonworking code between home and work, still just stubs
Diffstat (limited to 'bus/services.c')
-rw-r--r--bus/services.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/services.c b/bus/services.c
index 821cb4af..d3ab1e59 100644
--- a/bus/services.c
+++ b/bus/services.c
@@ -128,6 +128,8 @@ bus_registry_ensure (BusRegistry *registry,
const char *c_name;
BusService *service;
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
_dbus_assert (owner_if_created != NULL);
_dbus_assert (transaction != NULL);
@@ -260,6 +262,8 @@ bus_service_add_owner (BusService *service,
BusTransaction *transaction,
DBusError *error)
{
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
/* Send service acquired message first, OOM will result
* in cancelling the transaction
*/
@@ -292,6 +296,8 @@ bus_service_remove_owner (BusService *service,
BusTransaction *transaction,
DBusError *error)
{
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
/* We send out notifications before we do any work we
* might have to undo if the notification-sending failed
*/