Dont write rpcport into .conf
This commit is contained in:
@@ -1365,7 +1365,7 @@ void komodo_configfile(char *symbol,uint16_t port)
|
|||||||
#ifndef FROM_CLI
|
#ifndef FROM_CLI
|
||||||
if ( (fp= fopen(fname,"wb")) != 0 )
|
if ( (fp= fopen(fname,"wb")) != 0 )
|
||||||
{
|
{
|
||||||
fprintf(fp,"rpcuser=user%u\nrpcpassword=pass%s\nrpcport=%u\nserver=1\ntxindex=1\nrpcworkqueue=64\n",crc,password,port);
|
fprintf(fp,"rpcuser=user%u\nrpcpassword=pass%s\nserver=1\ntxindex=1\nrpcworkqueue=64\n",crc,password);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
printf("Created (%s)\n",fname);
|
printf("Created (%s)\n",fname);
|
||||||
} else printf("Couldnt create (%s)\n",fname);
|
} else printf("Couldnt create (%s)\n",fname);
|
||||||
|
|||||||
Reference in New Issue
Block a user