test
This commit is contained in:
@@ -99,7 +99,7 @@ void komodo_gateway_iteration(char *symbol)
|
|||||||
for (i=0; i<10000 && KMDHEIGHT<kmdheight; i++,KMDHEIGHT++)
|
for (i=0; i<10000 && KMDHEIGHT<kmdheight; i++,KMDHEIGHT++)
|
||||||
{
|
{
|
||||||
printf("%s KMDheight.%d\n",symbol,KMDHEIGHT);
|
printf("%s KMDheight.%d\n",symbol,KMDHEIGHT);
|
||||||
if ( komodo_gateway_block(KMDHEIGHT) >= 0 )
|
if ( komodo_gateway_block(KMDHEIGHT,port) >= 0 )
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1063,9 +1063,9 @@ void komodo_configfile(char *symbol,uint16_t port)
|
|||||||
}
|
}
|
||||||
if ( rpcuser != 0 && rpcpassword != 0 )
|
if ( rpcuser != 0 && rpcpassword != 0 )
|
||||||
{
|
{
|
||||||
sprintf(USERPASS,"%s:%s",rpcuser,rpcpassword);
|
sprintf(KMDUSERPASS,"%s:%s",rpcuser,rpcpassword);
|
||||||
}
|
}
|
||||||
printf("rpcuser.(%s) rpcpassword.(%s) USERPASS.(%s) %u\n",rpcuser,rpcpassword,USERPASS,port);
|
printf("rpcuser.(%s) rpcpassword.(%s) KMDUSERPASS.(%s) %u\n",rpcuser,rpcpassword,KMDUSERPASS,port);
|
||||||
if ( rpcuser != 0 )
|
if ( rpcuser != 0 )
|
||||||
free(rpcuser);
|
free(rpcuser);
|
||||||
if ( rpcpassword != 0 )
|
if ( rpcpassword != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user