int next_wakeup_valid = 0;
char buf[64];
ArpPacket *in_packet = NULL;
- size_t in_packet_len;
+ size_t in_packet_len = 0;
ArpPacket *out_packet = NULL;
size_t out_packet_len;
uint8_t hw_address[ETHER_ADDRLEN];
return avahi_client_set_errno(client, avahi_error_dbus_to_number(error->name));
}
-static void client_set_state (AvahiClient *client, AvahiServerState state) {
+static void client_set_state(AvahiClient *client, AvahiClientState state) {
assert(client);
if (client->state == state)
dbus_error_is_set (&error))
goto fail;
- client_set_state(client, (AvahiServerState) state);
+ client_set_state(client, (AvahiClientState) state);
dbus_message_unref(message);
dbus_message_unref(reply);