From owner-cvs-all@FreeBSD.ORG Thu Feb 2 19:02:43 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A66116A420; Thu, 2 Feb 2006 19:02:43 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0565D43D4C; Thu, 2 Feb 2006 19:02:43 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k12J2gq3007464; Thu, 2 Feb 2006 19:02:42 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12J2gku007463; Thu, 2 Feb 2006 19:02:42 GMT (envelope-from mux) Message-Id: <200602021902.k12J2gku007463@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 19:02:42 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:02:43 -0000 mux 2006-02-02 19:02:42 UTC FreeBSD projects repository Modified files: csup proto.c Log: Slightly rework proto_connect() so that: - We don't print an error if the socket() call fails with EPROTONOTSUPP. Since we use getaddrinfo() in csup, we may get several addresses for one hostname, and some of them might be IPv6 so if the host running csup doesn't support IPv6, that can happen and confuse people. - Only print the "Cannot connect" message once. I should probably add the usual -4 and -6 switches to csup now. Revision Changes Path 1.57 +13 -5 projects/csup/proto.c