(trunk, libT) #5426 'Crash when adding UDP tracker with a large number of characters in the tracker URL' -- fixed.

This commit is contained in:
Jordan Lee
2013-07-20 23:29:42 +00:00
parent 8dd572076a
commit 73d4be24c7
-1
View File
@@ -680,7 +680,6 @@ tau_tracker_upkeep (struct tau_tracker * tracker)
struct evutil_addrinfo hints;
memset (&hints, 0, sizeof (hints));
hints.ai_family = AF_UNSPEC;
hints.ai_flags = EVUTIL_AI_CANONNAME;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = IPPROTO_UDP;
tracker->is_asking_dns = true;