summaryrefslogtreecommitdiff
path: root/net/bind8/patches/patch-af
blob: a06e0eec6d14a3a0d1825dbdf7205f62690ed80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1 2002/05/08 16:20:57 taca Exp $

--- lib/irs/getaddrinfo.c.orig	Fri Nov 30 09:36:54 2001
+++ lib/irs/getaddrinfo.c
@@ -602,7 +602,7 @@
 	char tmp[NS_MAXDNAME];
 	const char *cp;
 
-	result = NULL;
+	*res = NULL;
 
 	/*
 	 * if the servname does not match socktype/protocol, ignore it.