From owner-freebsd-current Fri Feb 7 09:55:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09800 for current-outgoing; Fri, 7 Feb 1997 09:55:42 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA09794 for ; Fri, 7 Feb 1997 09:55:39 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA24525; Fri, 7 Feb 1997 12:55:34 -0500 Date: Fri, 7 Feb 1997 12:55:34 -0500 From: Garrett Wollman Message-Id: <9702071755.AA24525@halloran-eldar.lcs.mit.edu> To: Bill Fenner Cc: roberto@eurocontrol.fr (Ollivier Robert), freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list) Subject: Re: fetch and gethostbyname2 In-Reply-To: <97Feb7.092041pst.177476@crevenia.parc.xerox.com> References: <19970207093535.OS29821@caerdonn.eurocontrol.fr> <97Feb7.092041pst.177476@crevenia.parc.xerox.com> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < said: > In message <19970207093535.OS29821@caerdonn.eurocontrol.fr> you write: >> fetch: `atena:': cannot resolve: Unknown host > Looks like an off-by-one error in parse_host_port(); note that there's > still a colon on the end and I'll bet there is no machine named "atena:" . > Try this patch. You're right. This is what happens when you change the design of a function in the middle of writing it... -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick