From 17abd35a71c033e77b744893cf7e71b1bfe3f3ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Mar 2018 00:57:48 +0200 Subject: [PATCH] Dont write rpcport into .conf --- src/komodo_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 1270b3e55..8b12646ed 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1365,7 +1365,7 @@ void komodo_configfile(char *symbol,uint16_t port) #ifndef FROM_CLI 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); printf("Created (%s)\n",fname); } else printf("Couldnt create (%s)\n",fname);