summaryrefslogtreecommitdiffstats
path: root/avahi-core/cache.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-05-20 14:54:00 +0000
committerLennart Poettering <lennart@poettering.net>2005-05-20 14:54:00 +0000
commit4de3df3db7df43474176533d0b5fac851dd4a9b4 (patch)
treed7116511e663e1f2f5add289364e0345fc4845e7 /avahi-core/cache.c
parentc565e9ad208e8c9aeaf94b02c56597a991b1597f (diff)
Add support for server state change callbacks
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@78 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/cache.c')
-rw-r--r--avahi-core/cache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/avahi-core/cache.c b/avahi-core/cache.c
index cba9c0b..2f0c166 100644
--- a/avahi-core/cache.c
+++ b/avahi-core/cache.c
@@ -231,13 +231,13 @@ static void expire_in_one_second(AvahiCache *c, AvahiCacheEntry *e) {
}
void avahi_cache_update(AvahiCache *c, AvahiRecord *r, gboolean unique, const AvahiAddress *a) {
- gchar *txt;
+/* gchar *txt; */
g_assert(c);
g_assert(r && r->ref >= 1);
- g_message("cache update: %s", (txt = avahi_record_to_string(r)));
- g_free(txt);
+/* g_message("cache update: %s", (txt = avahi_record_to_string(r))); */
+/* g_free(txt); */
if (r->ttl == 0) {
/* This is a goodbye request */
@@ -278,7 +278,7 @@ void avahi_cache_update(AvahiCache *c, AvahiRecord *r, gboolean unique, const Av
if (e) {
- g_message("found matching cache entry");
+/* g_message("found matching cache entry"); */
/* We need to update the hash table key if we replace the
* record */
@@ -292,7 +292,7 @@ void avahi_cache_update(AvahiCache *c, AvahiRecord *r, gboolean unique, const Av
} else {
/* No entry found, therefore we create a new one */
- g_message("couldn't find matching cache entry");
+/* g_message("couldn't find matching cache entry"); */
e = g_new(AvahiCacheEntry, 1);
e->cache = c;