diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2007-10-20 21:08:10 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2007-10-20 21:08:10 +0000 |
commit | eb579d3b1bb4b29b2b7a2b06a435bbdb9208d28d (patch) | |
tree | c1b1f7b8ae25b3019bc0688b9f23537d41324d7c /avahi-core/entry.c | |
parent | bb0059a4b3b97a7962b0defe9a99fefd28623422 (diff) |
verifying selected wide-area pub entrypoint by tracing.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1552 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/entry.c')
-rw-r--r-- | avahi-core/entry.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c index e2a7c6c..a353fe1 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -220,7 +220,11 @@ static AvahiEntry * server_add_internal( !g || (g->state != AVAHI_ENTRY_GROUP_ESTABLISHED && g->state != AVAHI_ENTRY_GROUP_REGISTERING) || (flags & AVAHI_PUBLISH_UPDATE), AVAHI_ERR_BAD_STATE); - + + /* tracing message for wide-area pub development */ + printf("record of type %d named %s observed at entrypoint\n", r->key->type, r->key->name); + + if (flags & AVAHI_PUBLISH_UPDATE) { AvahiRecord *old_record; int is_first = 1; |