summaryrefslogtreecommitdiffstats
path: root/avahi-core/strlst-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/strlst-test.c')
-rw-r--r--avahi-core/strlst-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-core/strlst-test.c b/avahi-core/strlst-test.c
index ebbf194..afc13b1 100644
--- a/avahi-core/strlst-test.c
+++ b/avahi-core/strlst-test.c
@@ -34,6 +34,8 @@ int main(int argc, char *argv[]) {
AvahiStringList *a = NULL, *b;
guint size, n;
+ a = avahi_string_list_new("prefix", "a", "b", NULL);
+
a = avahi_string_list_add(a, "start");
a = avahi_string_list_add(a, "foo");
a = avahi_string_list_add(a, "bar");