X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fconformance-test.c;h=13704c355950d76d2bd15ce75df46935c1aa3243;hb=0632e854728e8e64552ae08f90852d4a2658539e;hp=ccc9a12219f426fbaa73d8720e6f6a701de3895c;hpb=d76069e946b4e89c828c96340677e40f583080c9;p=catta diff --git a/avahi-core/conformance-test.c b/avahi-core/conformance-test.c index ccc9a12..13704c3 100644 --- a/avahi-core/conformance-test.c +++ b/avahi-core/conformance-test.c @@ -101,8 +101,9 @@ static void server_callback(AvahiServer *s, AvahiServerState state, gpointer use int main(int argc, char *argv[]) { GMainLoop *loop = NULL; + gint error; - avahi = avahi_server_new(NULL, NULL, server_callback, NULL); + avahi = avahi_server_new(NULL, NULL, server_callback, NULL, &error); loop = g_main_loop_new(NULL, FALSE); g_timeout_add(1000*5, dump_timeout, avahi);