Searched refs:hostlen (Results 1 – 1 of 1) sorted by relevance
3800 size_t hostlen; in vnc_display_get_address() 3807 hostlen = 0; in vnc_display_get_address() 3814 hostlen = port - addrstr; in vnc_display_get_address() 3824 if (hostlen && addrstr[0] == '[' && addrstr[hostlen - 1] == ']') { in vnc_display_get_address() 3825 inet->host = g_strndup(addrstr + 1, hostlen - 2); in vnc_display_get_address() 3827 inet->host = g_strndup(addrstr, hostlen); in vnc_display_get_address() 3799 size_t hostlen; vnc_display_get_address() local