This commit is contained in:
jl777
2018-04-07 20:58:31 +03:00
parent f16f9bb368
commit a643c07810
2 changed files with 3 additions and 1 deletions

View File

@@ -1422,7 +1422,8 @@ uint16_t komodo_userpass(char *userpass,char *symbol)
{
port = komodo_userpass(username,password,fp);
sprintf(userpass,"%s:%s",username,password);
strcpy(ASSETCHAINS_USERPASS,userpass);
if ( strcmp(symbol,ASSETCHAINS_SYMBOL) == 0 )
strcpy(ASSETCHAINS_USERPASS,userpass);
fclose(fp);
return((int32_t)strlen(userpass));
}