summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-05 19:26:12 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-05 19:26:12 +0000
commitbf0db10cd964b708a77d2e1768500f57a1392023 (patch)
tree891af2e46eb81ee1d9ca18d735fe49a5f52b0f59 /avahi-daemon/dbus-protocol.c
parent0632e854728e8e64552ae08f90852d4a2658539e (diff)
* Beef up simple protocol with error codes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@239 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/dbus-protocol.c')
-rw-r--r--avahi-daemon/dbus-protocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
index a87712d..eb7b913 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -343,7 +343,8 @@ static DBusHandlerResult respond_error(DBusConnection *c, DBusMessage *m, gint e
AVAHI_DBUS_ERR_TOO_MANY_OBJECTS,
AVAHI_DBUS_ERR_TOO_MANY_ENTRIES,
AVAHI_DBUS_ERR_OS,
- DBUS_ERROR_ACCESS_DENIED
+ AVAHI_DBUS_ERR_ACCESS_DENIED,
+ AVAHI_DBUS_ERR_INVALID_OPERATION
};
g_assert(-error > -AVAHI_OK);