$NetBSD: patch-ac,v 1.6 2002/12/07 21:34:04 cjep Exp $

--- lib/irs/getaddrinfo.c.orig	Wed Feb 27 03:57:17 2002
+++ lib/irs/getaddrinfo.c
@@ -595,7 +595,7 @@ explore_fqdn(pai, hostname, servname, re
 	char tmp[NS_MAXDNAME];
 	const char *cp;
 
-	result = NULL;
+	*res = NULL;
 
 	/*
 	 * if the servname does not match socktype/protocol, ignore it.
