static void vnc_init_basic_info_from_server_addr(QIOChannelSocket *ioc,
                                                 VncBasicInfo *info,
                                                 Error **errp)
{
    SocketAddress *addr = NULL;
    addr = qio_channel_socket_get_local_address(ioc, errp);
    if (!addr) {
    vnc_init_basic_info(addr, info, errp);
    qapi_free_SocketAddress(addr);
static void vnc_init_basic_info_from_server_addr(QIOChannelSocket *ioc,
                                                 VncBasicInfo *info,
                                                 Error **errp)
{
    SocketAddress *addr = NULL;
    addr = qio_channel_socket_get_local_address(ioc, errp);
    if (!addr) {
    vnc_init_basic_info(addr, info, errp);
    qapi_free_SocketAddress(addr);
static void FUNC_0(QIOChannelSocket *VAR_0,
                                                 VncBasicInfo *VAR_1,
                                                 Error **VAR_2)
{
    SocketAddress *addr = NULL;
    addr = qio_channel_socket_get_local_address(VAR_0, VAR_2);
    if (!addr) {
    vnc_init_basic_info(addr, VAR_1, VAR_2);
    qapi_free_SocketAddress(addr);
static void FUNC_0(QIOChannelSocket *VAR_0,
VncBasicInfo *VAR_1,
Error **VAR_2)
{ SocketAddress *addr = NULL; addr = qio_channel_socket_get_local_address(VAR_0, VAR_2); if (!addr) { vnc_init_basic_info(addr, VAR_1, VAR_2); qapi_free_SocketAddress(addr);