266
265
return avahi_dbus_respond_string(c, m, avahi_server_get_host_name(avahi_server));
271
if (!dbus_message_get_args(m, &error, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)) {
277
return avahi_dbus_respond_error(c, m, avahi_server_errno(avahi_server), NULL);
268
283
} else if (dbus_message_is_method_call(m, AVAHI_DBUS_INTERFACE_SERVER, "GetDomainName")) {
270
285
if (!dbus_message_get_args(m, &error, DBUS_TYPE_INVALID)) {