MAX_LEN_LIST_ENTRY
strncpy (host_str, host_list[j], MAX_LEN_LIST_ENTRY - 1);
char host_str[MAX_LEN_LIST_ENTRY] = "", proto_str[PROTOCOL_STR_LEN + 1] = "", port_str[PORT_STR_LEN + 1] = "";
if (hostname_len >= MAX_LEN_LIST_ENTRY) {