Changeset: 9538ff8465d0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9538ff8465d0
Modified Files:
        clients/mapiclient/tachograph.c
Branch: default
Log Message:

Minor fixes


diffs (32 lines):

diff --git a/clients/mapiclient/tachograph.c b/clients/mapiclient/tachograph.c
--- a/clients/mapiclient/tachograph.c
+++ b/clients/mapiclient/tachograph.c
@@ -755,7 +755,7 @@ update(EventRecord *ev)
                fprintf(tachojson,"\"time\": "LLFMT",\n",ev->clkticks);
                fprintf(tachojson,"\"status\": \"done\",\n");
                fprintf(tachojson,"\"ticks\": "LLFMT",\n",ev->ticks);
-               fprintf(tachojson," \"stmt\":\"");
+               fprintf(tachojson,"\"stmt\":\"");
                for(s = ev->stmt; *s; s++)
                switch(*s){
                case '\\': 
@@ -765,16 +765,16 @@ update(EventRecord *ev)
                fprintf(tachojson,"\",\n");
 
                renderCall(line,BUFSIZ, ev->stmt,1,1);
-               fprintf(tachojson," \"beautystmt\":\"");
+               fprintf(tachojson,"\"beautystmt\":\"");
                for(s = line; *s; s++)
                switch(*s){
                case '\\': 
                        if( *(s+1) == '\\' ) s++;
                default: fputc((int) *s, tachojson);
                }
-               fprintf(tachojson,"\",\n");
+               fprintf(tachojson,"\"\n");
 
-               fprintf(tachojson,"}\n");
+               fprintf(tachojson,"},\n");
                fflush(tachojson);
 
                events[ev->pc].state= FINISHED;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to