Drastically increased the size of the buffer used to read in
authoraland <aland>
Fri, 19 Oct 2001 17:21:38 +0000 (17:21 +0000)
committeraland <aland>
Fri, 19 Oct 2001 17:21:38 +0000 (17:21 +0000)
value-pair strings.  This allows it to read LOTS of value-pairs.

src/main/radclient.c

index 1b35f91..9f9cb0e 100644 (file)
@@ -69,7 +69,7 @@ static char filesecret[256];
  */
 static VALUE_PAIR *readvp(FILE *fp)
 {
-       char buf[128];
+       char buf[8192];
        int last_token;
        char *p;
        VALUE_PAIR *vp;