(do_connect): use ai_protocol 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12933 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -53,7 +53,7 @@ do_connect (const char *hostname, const char *port) | ||||
|     memset (&hints, 0, sizeof(hints)); | ||||
|     hints.ai_family = PF_UNSPEC; | ||||
|     hints.ai_socktype = SOCK_STREAM; | ||||
|     hints.ai_protocol = IPPROTO_TCP; | ||||
|     hints.ai_protocol = 0; | ||||
|  | ||||
|     error = getaddrinfo (hostname, port, &hints, &ai); | ||||
|     if (error) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand