From owner-cvs-all Wed Jul 24 7:50:25 2002 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 2B04C37B400; Wed, 24 Jul 2002 07:50:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D119743E31; Wed, 24 Jul 2002 07:50:17 -0700 (PDT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6OEoHJU030604; Wed, 24 Jul 2002 07:50:17 -0700 (PDT) (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6OEoHnj030603; Wed, 24 Jul 2002 07:50:17 -0700 (PDT) Message-Id: <200207241450.g6OEoHnj030603@freefall.freebsd.org> From: Yar Tikhiy Date: Wed, 24 Jul 2002 07:50:17 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG yar 2002/07/24 07:50:17 PDT Modified files: libexec/ftpd ftpd.c Log: Clean up the syslog(3) messages on the setsockopt(2) errors: o Always check a setsockopt(2) return value o Use a consistent message format o Don't abort if the failed setsockopt(2) was actually not vital o Use LOG_WARNING, not LOG_ERR, in non-fatal cases MFC after: 1 week Revision Changes Path 1.115 +14 -12 src/libexec/ftpd/ftpd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message