X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fclient-test.c;h=802584a2bf905210dcaee22687828bdb2e02dce9;hb=d8260fdf4310e135f301d0b8296aeffa02f5f494;hp=775eb5d24adb18b6a056dd839d49fcdc472ebe56;hpb=854f901f491ccda79aee11edc3d59109cb229d28;p=catta diff --git a/avahi-client/client-test.c b/avahi-client/client-test.c index 775eb5d..802584a 100644 --- a/avahi-client/client-test.c +++ b/avahi-client/client-test.c @@ -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);