diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-30 20:57:58 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-30 20:57:58 +0000 |
commit | 65ff53f25c418feea1c3e6223fbe0031b6dc5ba1 (patch) | |
tree | d86a65a4082e5ea990d346e25f999b00026a020e /avahi-core/entry.c | |
parent | 9ddb9ea8acdc1fa1094beb4312b757f1e6b57c0b (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-core/entry.c')
-rw-r--r-- | avahi-core/entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c index eb745f2..d953f7b 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -1114,7 +1114,7 @@ int avahi_s_entry_group_commit(AvahiSEntryGroup *g) { return avahi_server_set_errno(g->server, AVAHI_ERR_BAD_STATE); if (avahi_s_entry_group_is_empty(g)) - return avahi_server_set_errno(g->server, AVAHI_ERR_BAD_STATE); + return avahi_server_set_errno(g->server, AVAHI_ERR_IS_EMPTY); g->n_register_try++; |