Changeset: 9c5b374c3886 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9c5b374c3886
Modified Files:
clients/mapiclient/stethoscope.c
Branch: Jul2017
Log Message:
Make sure stethoscope outputs each received character only once
This completes the fix for bug 6375
diffs (15 lines):
diff --git a/clients/mapiclient/stethoscope.c b/clients/mapiclient/stethoscope.c
--- a/clients/mapiclient/stethoscope.c
+++ b/clients/mapiclient/stethoscope.c
@@ -350,9 +350,9 @@ main(int argc, char **argv)
printf("%s", response);
if(json) {
if(trace != NULL) {
- fprintf(trace, "%s", response);
+ fprintf(trace, "%s", response + len);
} else {
- printf("%s", response);
+ printf("%s", response + len);
fflush(stdout);
}
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list