summaryrefslogtreecommitdiffstats
path: root/avahi-common/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-common/dbus.c')
-rw-r--r--avahi-common/dbus.c4
1 files changed, 2 insertions, 2 deletions
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 <avahi-common/dbus.h>
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,