From ca9f26089df29fec5995ed4f19a06c29f7f4b12e Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 28 Feb 2019 18:55:40 +0000 Subject: [PATCH] Plugin chains to speed up running of plugins, part 1. --- src/snapshot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index fbb6d4b..da21498 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -24,7 +24,7 @@ ts_bool xml_trisurf_data(FILE *fh, ts_vesicle *vesicle){ ts_string *data=(ts_string *)malloc(sizeof(ts_sprintf)); - data->string=(char *)malloc(512000*sizeof(char)); /*TODO: warning, can break if the string is to long */ + data->string=(char *)malloc(5120000*sizeof(char)); /*TODO: warning, can break if the string is to long */ data->beg=0; xml_trisurf_header(fh, vesicle); -- Gitblit v1.9.3