]> git.meshlink.io Git - catta/blobdiff - avahi-core/query-sched.c
Add support for server state change callbacks
[catta] / avahi-core / query-sched.c
index 32d0e91dcd79ae498330199346876e7e44cba46e..7cdba04afc32b4d71ca70f09947c4730d0dca864 100644 (file)
@@ -326,7 +326,7 @@ gboolean avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, gbool
     g_assert(key);
 
     if ((qj = find_history_job(s, key))) {
-        g_message("Query suppressed by local duplicate suppression (history)");
+/*         g_message("Query suppressed by local duplicate suppression (history)"); */
         return FALSE;
     }
     
@@ -335,7 +335,7 @@ gboolean avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, gbool
     if ((qj = find_scheduled_job(s, key))) {
         /* Duplicate questions suppression */
 
-        g_message("Query suppressed by local duplicate suppression (scheduled)");
+/*         g_message("Query suppressed by local duplicate suppression (scheduled)"); */
         
         if (avahi_timeval_compare(&tv, &qj->delivery) < 0) {
             /* If the new entry should be scheduled earlier,
@@ -346,7 +346,7 @@ gboolean avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, gbool
 
         return TRUE;
     } else {
-        g_message("Accepted new query job.\n");
+/*         g_message("Accepted new query job.\n"); */
 
         qj = job_new(s, key, FALSE);
         qj->delivery = tv;
@@ -367,7 +367,7 @@ void avahi_query_scheduler_incoming(AvahiQueryScheduler *s, AvahiKey *key) {
      * "DUPLICATE QUESTION SUPPRESION". */
 
     if ((qj = find_scheduled_job(s, key))) {
-        g_message("Query suppressed by distributed duplicate suppression");
+/*         g_message("Query suppressed by distributed duplicate suppression"); */
         job_mark_done(s, qj);
         return;
     }