diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2007-12-27 05:27:32 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2007-12-27 05:27:32 +0000 |
commit | 24457ef0fc79125066cfd957025afcc65be37541 (patch) | |
tree | 3c661624f41adbfdecbf1bc3c296aeae2c64d73b | |
parent | e437047774023208bc8626e7f7a7018f5998ae97 (diff) |
test.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1640 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r-- | avahi-core/entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c index 5f4406f..25eaf0d 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -225,7 +225,7 @@ 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 *in[] = avahi_strdup("foo.com"); char out[100]; avahi_unescape_label(&in, out, 100); printf("result: -%s-\n", out); |