Searched refs:port_name (Results 1 – 1 of 1) sorted by relevance
815 const char* port_name = strchr(host_and_port, ':'); in sock_address_list_create2() local816 if (port_name != NULL) { in sock_address_list_create2()817 int to_copy = MIN((int)sizeof(host_name)-1, port_name - host_and_port); in sock_address_list_create2()822 port_name++; in sock_address_list_create2()827 port_name = host_and_port; in sock_address_list_create2()830 if (port_name[0] == '\0') { in sock_address_list_create2()833 return sock_address_list_create(actual_host_name, port_name, flags); in sock_address_list_create2()