From 90ed1d84588a84697051e643175452c50d682ece Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 26 Mar 2003 03:58:11 +0000 Subject: 2003-03-25 Havoc Pennington * 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 --- bus/dispatch.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bus/dispatch.c') diff --git a/bus/dispatch.c b/bus/dispatch.c index 490ecf24..7db4ac29 100644 --- a/bus/dispatch.c +++ b/bus/dispatch.c @@ -70,6 +70,8 @@ bus_dispatch_broadcast_message (BusTransaction *transaction, DBusError tmp_error; SendMessageData d; BusConnections *connections; + + _DBUS_ASSERT_ERROR_IS_CLEAR (error); _dbus_assert (dbus_message_get_sender (message) != NULL); @@ -101,7 +103,9 @@ send_service_nonexistent_error (BusTransaction *transaction, DBusMessage *error_reply; DBusString error_message; const char *error_str; - + + _DBUS_ASSERT_ERROR_IS_CLEAR (error); + /* Trying to send a message to a non-existant service, * bounce back an error message. */ -- cgit