This commit is contained in:
jl777
2016-10-25 19:54:41 -03:00
parent 30f61477ac
commit a4cbda932c

View File

@@ -15,7 +15,7 @@
void komodo_gateway_iteration(char *symbol) void komodo_gateway_iteration(char *symbol)
{ {
char *retstr; uint32_t n=0; static uint32_t r,counter=0; char *retstr; static uint32_t r,n,counter=0;
if ( r == 0 ) if ( r == 0 )
r = rand(); r = rand();
if ( (counter++ % 10) == (r % 10) ) if ( (counter++ % 10) == (r % 10) )