aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-12-07 01:36:53 +0000
committerXin LI <delphij@FreeBSD.org>2012-12-07 01:36:53 +0000
commitc2654dc8fa912273267620e941ac7a5f1474fabf (patch)
treeae1cebf81143967735b0c15e68f45b070d62ef94 /lib
parent71a30c4436050b621d9ea0055d4b0a00ca26b40d (diff)
downloadsrc-c2654dc8fa912273267620e941ac7a5f1474fabf.tar.gz
src-c2654dc8fa912273267620e941ac7a5f1474fabf.zip
Fix build: reflect the increased field number.
Notes
Notes: svn path=/head/; revision=243964
Diffstat (limited to 'lib')
-rw-r--r--lib/libradius/radlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libradius/radlib.c b/lib/libradius/radlib.c
index 0b67b0ffd90b..55c6f5cb04a1 100644
--- a/lib/libradius/radlib.c
+++ b/lib/libradius/radlib.c
@@ -484,7 +484,7 @@ rad_config(struct rad_handle *h, const char *path)
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;