Searched refs:hostlen (Results 1 – 1 of 1) sorted by relevance
3744 size_t hostlen; in vnc_display_get_address() local3751 hostlen = 0; in vnc_display_get_address()3758 hostlen = port - addrstr; in vnc_display_get_address()3768 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address()3769 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address()3771 inet->host = g_strndup(addrstr, hostlen); in vnc_display_get_address()