diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-12 21:15:34 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-12 21:15:34 +0000 |
commit | ac550214812696d5ec68900d02df823d13724e47 (patch) | |
tree | 08bf97534d09e24357b9451bdc47f6a074a71427 /avahi-core/multicast-lookup.c | |
parent | d820affb3c55b9a16034da89f3efc4ddaba4006a (diff) |
remove some more compiler warnings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@746 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/multicast-lookup.c')
-rw-r--r-- | avahi-core/multicast-lookup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avahi-core/multicast-lookup.c b/avahi-core/multicast-lookup.c index d46f940..4ba48b4 100644 --- a/avahi-core/multicast-lookup.c +++ b/avahi-core/multicast-lookup.c @@ -83,7 +83,7 @@ AvahiMulticastLookup *avahi_multicast_lookup_new( void *userdata) { AvahiMulticastLookup *l, *t; - struct timeval ctime; + struct timeval tv; assert(e); assert(AVAHI_IF_VALID(interface)); @@ -109,13 +109,13 @@ AvahiMulticastLookup *avahi_multicast_lookup_new( AVAHI_LLIST_PREPEND(AvahiMulticastLookup, lookups, e->lookups, l); - avahi_querier_add_for_all(e->server, interface, protocol, l->key, &ctime); + avahi_querier_add_for_all(e->server, interface, protocol, l->key, &tv); l->queriers_added = 1; /* add a second */ - avahi_timeval_add(&ctime, 1000000); + avahi_timeval_add(&tv, 1000000); - l->all_for_now_event = avahi_time_event_new(e->server->time_event_queue, &ctime, all_for_now_callback, l); + l->all_for_now_event = avahi_time_event_new(e->server->time_event_queue, &tv, all_for_now_callback, l); return l; } |