summaryrefslogtreecommitdiffstats
path: root/avahi-core/subscribe.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-05-20 21:35:40 +0000
committerLennart Poettering <lennart@poettering.net>2005-05-20 21:35:40 +0000
commit26358a4c4a8ae0ca68f08054e367aa3687681445 (patch)
tree790e13824acaeb9598460afb371c8791726fcb91 /avahi-core/subscribe.c
parent4de3df3db7df43474176533d0b5fac851dd4a9b4 (diff)
* add new server state AVAHI_SERVER_SLEEPING to avoid conflicts by own responses
* Honour TC bit in incoming packets by responding immediately to packets * publish browse domain * Fix a structure size issue in iface.c revealed by running avahi on Linux 2.4 * Don't depend on IFF_RUNNING * Require a global IP addresses to consider an interface relevant * Linux 2.4 compatiblity * fix parsing of TTL from recvmsg() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@79 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/subscribe.c')
-rw-r--r--avahi-core/subscribe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-core/subscribe.c b/avahi-core/subscribe.c
index 00d3385..975fa1c 100644
--- a/avahi-core/subscribe.c
+++ b/avahi-core/subscribe.c
@@ -29,7 +29,7 @@
static void elapse(AvahiTimeEvent *e, void *userdata) {
AvahiSubscription *s = userdata;
GTimeVal tv;
- gchar *t;
+/* gchar *t; */
g_assert(s);
@@ -38,8 +38,8 @@ static void elapse(AvahiTimeEvent *e, void *userdata) {
if (s->n_query++ <= 8)
s->sec_delay *= 2;
- g_message("%i. Continuous querying for %s", s->n_query, t = avahi_key_to_string(s->key));
- g_free(t);
+/* g_message("%i. Continuous querying for %s", s->n_query, t = avahi_key_to_string(s->key)); */
+/* g_free(t); */
avahi_elapse_time(&tv, s->sec_delay*1000, 0);
avahi_time_event_queue_update(s->server->time_event_queue, s->time_event, &tv);