From f17d2832301b0f2fcd50fdcc6fec77666178158f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 Oct 2005 22:41:39 +0000 Subject: * add new entry group state AVAHI_ENTRY_GROUP_FAILURE * pass error code alongside entry gorup state changes over DBUS * add new server state AVAHI_SERVER_FAILURE * pass error code alongside server state changes over DBUS * fix client-publish-service * rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION * update TODO git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'avahi-common/dbus.c') diff --git a/avahi-common/dbus.c b/avahi-common/dbus.c index 179b1ed..058b819 100644 --- a/avahi-common/dbus.c +++ b/avahi-common/dbus.c @@ -31,7 +31,7 @@ #include static const char * const table[- AVAHI_ERR_MAX] = { - NULL, /* OK */ + AVAHI_DBUS_ERR_OK, AVAHI_DBUS_ERR_FAILURE, AVAHI_DBUS_ERR_BAD_STATE, AVAHI_DBUS_ERR_INVALID_HOST_NAME, @@ -39,7 +39,7 @@ static const char * const table[- AVAHI_ERR_MAX] = { AVAHI_DBUS_ERR_NO_NETWORK, AVAHI_DBUS_ERR_INVALID_TTL, AVAHI_DBUS_ERR_IS_PATTERN, - AVAHI_DBUS_ERR_LOCAL_COLLISION, + AVAHI_DBUS_ERR_COLLISION, AVAHI_DBUS_ERR_INVALID_RECORD, AVAHI_DBUS_ERR_INVALID_SERVICE_NAME, AVAHI_DBUS_ERR_INVALID_SERVICE_TYPE, -- cgit