diff options
author | Havoc Pennington <hp@redhat.com> | 2003-08-12 04:15:49 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-08-12 04:15:49 +0000 |
commit | 1d1b0f20a467cf1cbdcaf81fbad3a111bcff6c48 (patch) | |
tree | 26a8b3863455d26c4dc8805077a318fe8bb6d610 /bus/driver.c | |
parent | 5c1a8e44903bd1dedc8cbefad78b0c8b61daada5 (diff) |
2003-08-12 Havoc Pennington <hp@pobox.com>
* bus/dispatch.c (bus_dispatch): make this return proper
DBusHandlerResult to avoid DBUS_ERROR_UNKNOWN_METHOD
* dbus/dbus-errors.c (dbus_set_error): use
_dbus_string_append_printf_valist
* dbus/dbus-string.c (_dbus_string_append_printf_valist)
(_dbus_string_append_printf): new
* dbus/dbus-errors.h (DBUS_ERROR_UNKNOWN_MESSAGE): change to
UNKNOWN_METHOD
* dbus/dbus-connection.c (dbus_connection_dispatch): handle
DBUS_HANDLER_RESULT_NEED_MEMORY; send default error reply if a
message is unhandled.
Diffstat (limited to 'bus/driver.c')
-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 6e0024b0..22e36e0a 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -662,7 +662,7 @@ bus_driver_handle_message (DBusConnection *connection, _dbus_verbose ("No driver handler for %s\n", name); - dbus_set_error (error, DBUS_ERROR_UNKNOWN_MESSAGE, + dbus_set_error (error, DBUS_ERROR_UNKNOWN_METHOD, "%s does not understand message %s", DBUS_SERVICE_DBUS, name); |