From f855d1de39ff283cf0adcf82355d18753e44b07d Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Nov 2017 23:32:12 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 3e44cfeb4..306328470 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -1200,10 +1200,14 @@ struct LP_memory_list void *ptr; } *LP_memory_list; +int32_t zeroval() { return(0); } + void *LP_alloc(uint64_t len) { struct LP_memory_list *mp; mp = calloc(1,sizeof(*mp)); + if ( len == 72 ) + printf("%d\n",1/zeroval()); //printf("\n>>>>>>>>>>> LP_alloc mp.%p ptr.%p len.%llu\n",mp,mp->ptr,(long long)len); mp->timestamp = (uint32_t)time(NULL); mp->len = (uint32_t)len;