This commit is contained in:
jl777
2016-10-26 07:40:05 -03:00
parent 28453e7236
commit d354612fb7
2 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ void komodo_gateway_iteration(char *symbol)
for (i=0; i<10000 && KMDHEIGHT<kmdheight; i++,KMDHEIGHT++)
{
printf("%s KMDheight.%d\n",symbol,KMDHEIGHT);
if ( komodo_gateway_block(KMDHEIGHT) >= 0 )
if ( komodo_gateway_block(KMDHEIGHT,port) >= 0 )
{
}

View File

@@ -1063,9 +1063,9 @@ void komodo_configfile(char *symbol,uint16_t port)
}
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 )
free(rpcuser);
if ( rpcpassword != 0 )