summaryrefslogtreecommitdiffstats
path: root/avahi-common/error.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-30 20:57:58 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-30 20:57:58 +0000
commit65ff53f25c418feea1c3e6223fbe0031b6dc5ba1 (patch)
treed86a65a4082e5ea990d346e25f999b00026a020e /avahi-common/error.c
parent9ddb9ea8acdc1fa1094beb4312b757f1e6b57c0b (diff)
add new error code AVAHI_ERR_IS_EMPTY and use it in avahi_entry_group_commit()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/error.c')
-rw-r--r--avahi-common/error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-common/error.c b/avahi-common/error.c
index 6fe981c..f6f561a 100644
--- a/avahi-common/error.c
+++ b/avahi-common/error.c
@@ -84,7 +84,8 @@ const char *avahi_strerror(int error) {
"Not supported",
"Not permitted",
- "Invalid argument"
+ "Invalid argument",
+ "Is empty"
};
if (-error < 0 || -error >= -AVAHI_ERR_MAX)