diff options
Diffstat (limited to 'avahi-core/entry.c')
-rw-r--r-- | avahi-core/entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c index 965b676..5f4406f 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -225,9 +225,9 @@ 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[] = "foo.com"; char out[100]; - int out_len = 100; - avahi_escape_label("foo.com", 8, &out, &out_len); + avahi_unescape_label(&in, out, 100); printf("result: -%s-\n", out); /* sketch publishing function */ |