avoid duplicate hosts with -m

pull/89/merge
David Schweikert 8 years ago
parent 2ac223ed34
commit 5d84ad4c94

@ -2238,6 +2238,7 @@ void add_name(char* name)
}
#endif
else {
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = 0;
}
ret_ga = getaddrinfo(name, NULL, &hints, &res0);

Loading…
Cancel
Save