diff options
Diffstat (limited to 'avahi-core/entry.c')
-rw-r--r-- | avahi-core/entry.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c index 49e9031..f0f26b6 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -225,10 +225,13 @@ static AvahiEntry * server_add_internal( /* may have to move lower into logic, for _new_ and _modified_ records only */ printf("+++ record of type %d named %s observed at entrypoint\n", r->key->type, r->key->name); - char *in = avahi_strdup("foo.com"); + if (r->key->type == 12 || r->key->type == 2 || r->key->type == 5) + printf("result: -%s-\n", r->data.ptr.name); + /*char *in = avahi_strdup("foo.com"); char out[100]; avahi_unescape_label(&in, out, 100); - printf("result: -%s-\n", out); + printf("result: -%s-\n", out);*/ + /* sketch publishing function */ /*wide_area_publish();*/ |