From owner-cvs-all Thu May 16 22:27:57 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3227B37B40A; Thu, 16 May 2002 22:27:53 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4H5Rra32389; Thu, 16 May 2002 22:27:53 -0700 (PDT) (envelope-from jmallett) Message-Id: <200205170527.g4H5Rra32389@freefall.freebsd.org> From: "J. Mallett" Date: Thu, 16 May 2002 22:27:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpcbind check_bound.c rpcb_svc_4.c rpcb_svc_com.c rpcbind.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 jmallett 2002/05/16 22:27:53 PDT Modified files: usr.sbin/rpcbind check_bound.c rpcb_svc_4.c rpcb_svc_com.c rpcbind.c Log: Stop this program's abuse of malloc(3). Its return value doesn't need these ugly explicit casts, and its argument doesn't need explicitly cast to u_int, especially if sizeof() is being used. Revision Changes Path 1.3 +2 -2 src/usr.sbin/rpcbind/check_bound.c 1.3 +2 -3 src/usr.sbin/rpcbind/rpcb_svc_4.c 1.6 +5 -7 src/usr.sbin/rpcbind/rpcb_svc_com.c 1.2 +8 -8 src/usr.sbin/rpcbind/rpcbind.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message