summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:28:42 +0000
committerFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:28:42 +0000
commit2078008f0f2de390f77d969ec2d9724345ab36de (patch)
treefb0b5234ffdad439020bd1d1171c3353b7686b81
parent24457ef0fc79125066cfd957025afcc65be37541 (diff)
jesus, I am so tired I cannot read the obvious.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1641 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-core/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c
index 25eaf0d..49e9031 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[] = avahi_strdup("foo.com");
+ char *in = avahi_strdup("foo.com");
char out[100];
avahi_unescape_label(&in, out, 100);
printf("result: -%s-\n", out);