From 3c0825d4c6db5b677c650f8d9accfbbf66f961a8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 23 Nov 2017 18:04:26 +0400 Subject: [PATCH] Test --- crypto777/bitcoind_RPC.c | 1 + iguana/exchanges/stats.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto777/bitcoind_RPC.c b/crypto777/bitcoind_RPC.c index 8bdd89e1f..408e09479 100755 --- a/crypto777/bitcoind_RPC.c +++ b/crypto777/bitcoind_RPC.c @@ -334,6 +334,7 @@ static size_t WriteMemoryCallback(void *ptr,size_t size,size_t nmemb,void *data) { //printf("curl needs %d more\n",(int32_t)realsize); mem->memory = (ptr != 0) ? realloc(mem->memory,needed) : malloc(needed); + printf("mem->memory.%p len.%d\n",mem->memory,(int32_t)needed); mem->allocsize = needed; } //mem->memory = (ptr != 0) ? realloc(mem->memory,mem->size + realsize + 1) : malloc(mem->size + realsize + 1); diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 11afc2d4d..cc73844f6 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -718,7 +718,7 @@ void LP_rpc_processreq(void *_ptr) strcat(response,"\n"); if ( retstr != space ) { - //printf("free retstr0.%p\n",retstr); + printf("free retstr0.%p\n",retstr); free(retstr); } retstr = response;