diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-09 21:06:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-09 21:06:18 -0700 |
commit | 7f32f930ef850f789ecd0a3d3679aeec4dddd215 (patch) | |
tree | 6beaff69da4bf6d23b19f589f0669b251a4453ad /load-git.c | |
parent | 1fc783aed52e0f60dae68bc97d819392672df668 (diff) | |
download | subsurface-7f32f930ef850f789ecd0a3d3679aeec4dddd215.tar.gz |
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>
Diffstat (limited to 'load-git.c')
-rw-r--r-- | load-git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c index 636f1efc6..92f8dbc05 100644 --- a/load-git.c +++ b/load-git.c @@ -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; |