From 5b0ef48e9af1ec744502af1d8bcd0d891aa543ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Feb 2018 00:43:04 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_mmjson.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_mmjson.c b/iguana/exchanges/LP_mmjson.c index 1239c4180..bf2f7f670 100644 --- a/iguana/exchanges/LP_mmjson.c +++ b/iguana/exchanges/LP_mmjson.c @@ -516,7 +516,9 @@ int32_t MMJSON_encodeval(uint8_t *linebuf,int32_t k,int32_t ind,char *v,uint32_t } if ( v[j] == 0 ) { - printf("unexpected missing string value.(%s)\n",v); + static uint32_t counter; + if ( counter++ < 3 ) + printf("unexpected missing string value.(%s)\n",v); //ind = mmadd(v); //printf("%s.<%s>.%d ",s,v,ind); //linebuf[k++] = ind;