Increase static buffer size

While 100 was almost certainly long enough for all the non-string data
that we'd find on a single line, it was a little too close for comfort.
So let's go total overkill and not worry about it.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-03-09 21:06:18 -07:00
parent 1fc783aed5
commit 7f32f930ef

View file

@ -783,7 +783,7 @@ static const char *parse_one_string(const char *buf, const char *end, struct mem
}
typedef void (line_fn_t)(char *, struct membuffer *, void *);
#define MAXLINE 100
#define MAXLINE 500
static unsigned parse_one_line(const char *buf, unsigned size, line_fn_t *fn, void *fndata, struct membuffer *b)
{
const char *end = buf + size;