1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/crawl/files/patch-dns.c
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

17 lines
386 B
C

--- dns.c.orig Sun May 18 10:21:33 2003
+++ dns.c Mon May 30 16:20:14 2005
@@ -562,8 +562,13 @@
if (res != 0) {
fprintf(stderr, "%s: getaddrinfo(%s): %s\n", __func__,
ip, gai_strerror(res));
+#ifdef EAI_NODATA
if (res != EAI_NODATA)
return (-1);
+#else
+ if (res != EAI_NONAME)
+ return (-1);
+#endif
/* Negative caching */
ai = NULL;