From 5eefcc281fda031d322599fd7094da4fc8450948 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 25 Sep 2018 13:55:53 +0000 Subject: [PATCH] Debugged --- 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