From 0632e854728e8e64552ae08f90852d4a2658539e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Aug 2005 18:59:21 +0000 Subject: * add proper error codes and patch everything to make use of it * parameter validity checkin in all user visible functions of libavahi-core * two new python tools/examples avahi-resolve-host-name and avahi-resolve-address git-svn-id: file:///home/lennart/svn/public/avahi/trunk@238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/conformance-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'avahi-core/conformance-test.c') 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); -- cgit