shithub: drawterm

Download patch

ref: 7d6b0ad1265ef7e7418cc4adc54fe470259a0e33
parent: 313cf4107eb9ebb2e2b7b6c8f61b93eac0b19a11
author: 23hiro <23hiro@gmail.com>
date: Sat Aug 20 21:38:25 EDT 2016

devip-posix.c: replace PADDRINFOA with addrinfo structs

--- a/kern/devip-posix.c	Sat Aug 20 21:20:35 2016
+++ b/kern/devip-posix.c	Sat Aug 20 21:38:25 2016
@@ -210,7 +210,7 @@
 so_gethostbyname(char *host, char **hostv, int n)
 {
 	char buf[INET6_ADDRSTRLEN];
-	PADDRINFOA r, p;
+	struct addrinfo *r, *p;
 	int i;
 
 	r = NULL;