summaryrefslogtreecommitdiffstats
path: root/avahi-core/conformance-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/conformance-test.c')
-rw-r--r--avahi-core/conformance-test.c3
1 files changed, 2 insertions, 1 deletions
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);