From 4ca00dc38c72f67dc714fbb45b3006afec097c9c Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sat, 19 Oct 2019 13:26:56 +0000 Subject: [PATCH] Compression except of trisurf header is done. Preparing for decompression --- src/snapshot.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index ee5a0d9..d21b864 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -37,12 +37,12 @@ xml_trisurf_nucleus(data,vesicle); xml_trisurf_constvolarea(data,V0,A0); //#ifdef COMPRESSION - char *compressed; - ts_uint nbytes=ts_compress_string64(data->string, data->beg-1, &compressed); //suppress null character at the end with by substracting 1 - fwrite(compressed, sizeof(unsigned char), nbytes, fh); - free (compressed); +// char *compressed; +// ts_uint nbytes=ts_compress_string64(data->string, data->beg-1, &compressed); //suppress null character at the end with by substracting 1 +// fwrite(compressed, sizeof(unsigned char), nbytes, fh); +// free (compressed); //#else -// fprintf(fh,"%s", data->string); + fprintf(fh,"%s", data->string); //#endif free(data->string); /* TODO: valgrind is not ok with this! */ free(data); -- Gitblit v1.9.3