summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:35:42 +0000
committerFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:35:42 +0000
commitad9fd1708ba9f8212f7472eee000552677e3f9f9 (patch)
treef93534be50cf112de415a8b63d07c012be56d89a
parent2078008f0f2de390f77d969ec2d9724345ab36de (diff)
test
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1642 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-core/entry.c7
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();*/