Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 01:36:54 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243964 - head/lib/libradius
Message-ID:  <201212070136.qB71asUn078075@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212070136.qB71asUn078075>