test
This commit is contained in:
@@ -1262,6 +1262,7 @@ void komodo_configfile(char *symbol,uint16_t port)
|
||||
komodo_userpass(myusername,mypassword,fp);
|
||||
mapArgs["-rpcpassword"] = mypassword;
|
||||
mapArgs["-rpcusername"] = myusername;
|
||||
fprintf(stderr,"myusername.(%s)\n",myusername);
|
||||
fclose(fp);
|
||||
}
|
||||
strcpy(fname,GetDataDir().string().c_str());
|
||||
|
||||
@@ -115,6 +115,7 @@ void AddOneShot(string strDest)
|
||||
|
||||
unsigned short GetListenPort()
|
||||
{
|
||||
printf("Listenport.%u\n",Params().GetDefaultPort());
|
||||
return (unsigned short)(GetArg("-port", Params().GetDefaultPort()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user