summaryrefslogtreecommitdiffstats
path: root/avahi-core/server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-27 19:43:09 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-27 19:43:09 +0000
commit21dd860429b6a3065118fdba4b298cdb19c28d15 (patch)
tree9f23dfdda7a20e5392a9b7cd72366d4e6d3cd7cf /avahi-core/server.c
parent2be7dc13cecbb995692eec1bfc1d27799651ec70 (diff)
remove a bunch of compiler warnings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/server.c')
-rw-r--r--avahi-core/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-core/server.c b/avahi-core/server.c
index 700b3a8..0978385 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -236,7 +236,7 @@ static void incoming_probe(AvahiServer *s, AvahiRecord *record, AvahiInterface *
}
}
-static int handle_conflict(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, int unique, const AvahiAddress *a) {
+static int handle_conflict(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, int unique) {
int valid = 1, ours = 0, conflict = 0, withdraw_immediately = 0;
AvahiEntry *e, *n, *conflicting_entry = NULL;
@@ -591,7 +591,7 @@ static void handle_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterfac
goto fail;
}
- if (handle_conflict(s, i, record, unique, a)) {
+ if (handle_conflict(s, i, record, unique)) {
avahi_response_scheduler_suppress(i->response_scheduler, record, a);
avahi_record_list_drop(s->record_list, record);
avahi_cache_stop_poof(i->cache, record, a);
@@ -655,7 +655,7 @@ static void handle_response_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInter
/* avahi_log_debug("Handling response: %s", txt = avahi_record_to_string(record)); */
/* avahi_free(txt); */
- if (handle_conflict(s, i, record, cache_flush, a)) {
+ if (handle_conflict(s, i, record, cache_flush)) {
if (!from_local_iface)
reflect_response(s, i, record, cache_flush);
avahi_cache_update(i->cache, record, cache_flush, a);