summaryrefslogtreecommitdiffstats
path: root/avahi-core
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core')
-rw-r--r--avahi-core/core.h3
-rw-r--r--avahi-core/server.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/avahi-core/core.h b/avahi-core/core.h
index 1adf244..2951f6d 100644
--- a/avahi-core/core.h
+++ b/avahi-core/core.h
@@ -83,7 +83,8 @@ enum {
AVAHI_ERR_TOO_MANY_ENTRIES = -18, /**< Too many entries */
AVAHI_ERR_OS = -19, /**< OS error */
AVAHI_ERR_ACCESS_DENIED = -20, /**< Access denied */
- AVAHI_ERR_MAX = -21
+ AVAHI_ERR_INVALID_OPERATION = -21, /**< Invalid operation */
+ AVAHI_ERR_MAX = -22
};
/** States of a server object */
diff --git a/avahi-core/server.c b/avahi-core/server.c
index c4acf35..541c7b7 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -2318,7 +2318,8 @@ const gchar *avahi_strerror(gint error) {
"Too many objects",
"Too many entries",
"OS Error",
- "Access denied"
+ "Access denied",
+ "Invalid operation"
};
return msg[-error];