]> git.meshlink.io Git - catta/blobdiff - avahi-common/dbus.c
* add new entry group state AVAHI_ENTRY_GROUP_FAILURE
[catta] / avahi-common / dbus.c
index 179b1eda9b8cb645366d24d11f266cde7d80af4f..058b8190950dc4ec09cde5390dcebf2e8b3bf88e 100644 (file)
@@ -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,