From 698ae18f535c3e388b6ebcdca1582005a29ff2f2 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Mon, 29 Feb 2016 11:52:16 +0000 Subject: [PATCH] Tape is in the dump and successfully restored. --- src/snapshot.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index 12bb19a..177557d 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -7,7 +7,7 @@ #include<inttypes.h> #include<config.h> #include <time.h> - +#include "io.h" /* a helper function that utilizes ts_string data structure and performs same as sprintf */ ts_uint ts_sprintf(ts_string *str, char *fmt, ...){ va_list ap; @@ -56,7 +56,7 @@ fprintf(fh, "<dumpdate>%s</dumpdate>\n", c_time_string); fprintf(fh, "<tape>\n"); - + fprintf(fh,"%s",tapetxt); fprintf(fh, "</tape>\n"); if(vesicle->poly_list!=NULL){ npoly=vesicle->poly_list->n; @@ -69,7 +69,7 @@ npoly=0; nfono=0; } - fprintf(fh, "<trisurf nvtx=\"%u\" npoly=\"%u\" nfono=\"%u\">\n", vesicle->vlist->n, npoly, nfono); + fprintf(fh, "<trisurf nvtx=\"%u\" npoly=\"%u\" nfono=\"%u\" compressed=\"false\">\n", vesicle->vlist->n, npoly, nfono); return TS_SUCCESS; } -- Gitblit v1.9.3