From owner-svn-src-head@FreeBSD.ORG Fri Dec 7 01:36:54 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CC12217; Fri, 7 Dec 2012 01:36:54 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0DB8FC0C; Fri, 7 Dec 2012 01:36:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB71asBw078076; Fri, 7 Dec 2012 01:36:54 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB71asUn078075; Fri, 7 Dec 2012 01:36:54 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201212070136.qB71asUn078075@svn.freebsd.org> From: Xin LI Date: Fri, 7 Dec 2012 01:36:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243964 - head/lib/libradius X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 01:36:54 -0000 Author: delphij Date: Fri Dec 7 01:36:53 2012 New Revision: 243964 URL: http://svnweb.freebsd.org/changeset/base/243964 Log: Fix build: reflect the increased field number. Modified: head/lib/libradius/radlib.c Modified: head/lib/libradius/radlib.c ============================================================================== --- head/lib/libradius/radlib.c Fri Dec 7 01:14:52 2012 (r243963) +++ head/lib/libradius/radlib.c Fri Dec 7 01:36:53 2012 (r243964) @@ -484,7 +484,7 @@ rad_config(struct rad_handle *h, const c linenum = 0; while (fgets(buf, sizeof buf, fp) != NULL) { int len; - char *fields[5]; + char *fields[MAX_FIELDS]; int nfields; char msg[ERRSIZE]; char *type;