From 30f61477ac04599263a7b8b44c899729f0ca4cbc Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Oct 2016 19:49:52 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 9c42772f9..f5d3c82ca 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -13,20 +13,20 @@ * * ******************************************************************************/ -void komodo_gateway_iteration() +void komodo_gateway_iteration(char *symbol) { char *retstr; uint32_t n=0; static uint32_t r,counter=0; if ( r == 0 ) r = rand(); if ( (counter++ % 10) == (r % 10) ) { - printf("%s calling getinfo %d\n",ASSETCHAINS_SYMBOL,n); + printf("%s calling getinfo %d\n",symbol,n); if ( (retstr= komodo_issuemethod((char *)"getinfo",0,7771)) != 0 ) { //printf("GETINFO from.%s (%s)\n",ASSETCHAINS_SYMBOL,retstr); free(retstr); n++; - } else printf("error from %s\n",ASSETCHAINS_SYMBOL); + } else printf("error from %s\n",symbol); } }