From 1d04f36afcc6035e2373a39aa2c41f4e29afb748 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Aug 2005 19:30:19 +0000 Subject: It is a bad idea to name your own variables "errno". On some system the libc defines this as a macro, so you get into strange difficulties. I renamed those variables to "error" wherever this applies. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@294 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/entrygroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avahi-client/entrygroup.c') diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 6c0613f..7e8f74e 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -181,7 +181,7 @@ avahi_entry_group_state (AvahiEntryGroup *group) int avahi_client_errno (AvahiClient *client) { - return client->errno; + return client->error; } AvahiClient* -- cgit