]> git.meshlink.io Git - catta/blobdiff - avahi-client/client-test.c
fix avahi-browse build when gdbm is not available
[catta] / avahi-client / client-test.c
index 775eb5d24adb18b6a056dd839d49fcdc472ebe56..802584a2bf905210dcaee22687828bdb2e02dce9 100644 (file)
@@ -258,6 +258,7 @@ int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {
     printf("Sucessfully created entry group %p\n", (void*) group);
 
     avahi_entry_group_add_service (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "Lathiat's Site", "_http._tcp", NULL, NULL, 80, "foo=bar", NULL);
+    printf ("add_record: %d", avahi_entry_group_add_record (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "\5booya", 6));
 
     avahi_entry_group_commit (group);