mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
1fc783aed5
commit
7f32f930ef
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue