summaryrefslogtreecommitdiffstats
path: root/avahi-core/entry.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-26 01:34:48 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-26 01:34:48 +0000
commit182da3ab7be8f813a09f1807c1c76747eff02af6 (patch)
tree78290574d9052dd1778b5244fd77350a991ab259 /avahi-core/entry.c
parent8e1c41a6b493a4180fcad14ab885f40d88cf207f (diff)
reorder arguments of avahi_reverse_lookup_name() to make them more natural
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@874 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/entry.c')
-rw-r--r--avahi-core/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c
index 7afad47..1b6ab8b 100644
--- a/avahi-core/entry.c
+++ b/avahi-core/entry.c
@@ -441,7 +441,7 @@ int avahi_server_add_address(
if (!(flags & AVAHI_PUBLISH_NO_REVERSE)) {
char reverse_n[AVAHI_DOMAIN_NAME_MAX];
- avahi_reverse_lookup_name(reverse_n, sizeof(reverse_n), a);
+ avahi_reverse_lookup_name(a, reverse_n, sizeof(reverse_n));
if (!(reverse = server_add_ptr_internal(s, g, interface, protocol, flags | AVAHI_PUBLISH_UNIQUE, AVAHI_DEFAULT_TTL_HOST_NAME, reverse_n, name))) {
ret = avahi_server_errno(s);