summaryrefslogtreecommitdiffstats
path: root/avahi-core/query-sched.c
diff options
context:
space:
mode:
authorFederico Lucifredi <flucifredi@acm.org>2008-01-30 23:32:35 +0000
committerFederico Lucifredi <flucifredi@acm.org>2008-01-30 23:32:35 +0000
commitc48dddd46f584d06225638b2cece252de2419c7c (patch)
tree3b947d99d7e44272f5c36012b7e50504a0550a9e /avahi-core/query-sched.c
parent6fcd179ecd7cd04a6170458e964d1ffd8e41a86d (diff)
a bit of tracing code to answer my questions..
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico2@1747 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/query-sched.c')
-rw-r--r--avahi-core/query-sched.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/avahi-core/query-sched.c b/avahi-core/query-sched.c
index e6b2613..45465af 100644
--- a/avahi-core/query-sched.c
+++ b/avahi-core/query-sched.c
@@ -243,7 +243,9 @@ static void append_known_answers_and_send(AvahiQueryScheduler *s, AvahiDnsPacket
assert(p);
n = 0;
-
+
+ printf("appended to record type %d named %s at entrypoint(a)\n", ka->record->key->type, ka->record->key->name);
+
while ((ka = s->known_answers)) {
int too_large = 0;
@@ -268,7 +270,7 @@ static void append_known_answers_and_send(AvahiQueryScheduler *s, AvahiDnsPacket
/* generate an AvahiRecord with the Public Key of the ZSK that the host uses to sign records */
r = avahi_get_local_zsk_pubkey(ka->record->ttl);
- printf("appended to record type %d named %s at entrypoint\n", ka->record->key->type, ka->record->key->name);
+ printf("appended to record type %d named %s at entrypoint(b)\n", ka->record->key->type, ka->record->key->name);
/*append the public key record DNSKEY RR */
result = avahi_dns_packet_append_record(p, r, 0, 0);