X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fentrygroup.c;h=ea56ee2591fc362ebeb76657ab20d59dcfc138ef;hb=c3d36ee186b5fb24480590080215f7e14ee0f6a6;hp=6c0613f142b192e178804531da44166f0378110b;hpb=fde1c3d1a0156f0e06a819cc0958ec077a88c8c6;p=catta diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 6c0613f..ea56ee2 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -143,7 +143,7 @@ avahi_entry_group_reset (AvahiEntryGroup *group) } int -avahi_entry_group_state (AvahiEntryGroup *group) +avahi_entry_group_get_state (AvahiEntryGroup *group) { DBusMessage *message, *reply; DBusError error; @@ -181,7 +181,7 @@ avahi_entry_group_state (AvahiEntryGroup *group) int avahi_client_errno (AvahiClient *client) { - return client->errno; + return client->error; } AvahiClient* @@ -204,7 +204,7 @@ avahi_entry_group_add_service (AvahiEntryGroup *group, const char *type, const char *domain, const char *host, - int port, + uint16_t port, AvahiStringList *txt) { DBusMessage *message;