From owner-cvs-all@FreeBSD.ORG Sat Nov 13 13:42:43 2004 Return-Path: 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 C1FA916A4CE; Sat, 13 Nov 2004 13:42:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D3B43D1F; Sat, 13 Nov 2004 13:42:43 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iADDgh4l097707; Sat, 13 Nov 2004 13:42:43 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iADDghlu097706; Sat, 13 Nov 2004 13:42:43 GMT (envelope-from yar) Message-Id: <200411131342.iADDghlu097706@repoman.freebsd.org> From: Yar Tikhiy Date: Sat, 13 Nov 2004 13:42:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 13 Nov 2004 13:42:44 -0000 yar 2004-11-13 13:42:43 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: Using off_t to pass a block size is obvious overkill. The size_t type is better suited for that, particularly because the "blksize" argument is to be passed to malloc() and read(). On 64-bit archs it's more to a style issue, but the good style of coding in C is also important. Revision Changes Path 1.177 +2 -2 src/libexec/ftpd/ftpd.c