|
@@ -102,7 +102,7 @@ int main(int argc, char *argv[])
|
|
|
string configDir = "cfg/" + output;
|
|
|
|
|
|
// Read in from config files the server locations
|
|
|
- load_multiple_instances_config(serverIPs, serverPorts, configDir + "/serverIPs.cfg");
|
|
|
+ load_multiple_instances_config(serverIPs, serverPorts, (configDir + "/serverIPs.cfg").c_str());
|
|
|
|
|
|
// Read in the ip/port corresponding to the id that this instance was given
|
|
|
string selfConfigFilename = configDir + "/selfIP";
|
|
@@ -115,7 +115,7 @@ int main(int argc, char *argv[])
|
|
|
load_single_instance_config(selfIP, selfPortStr, selfPort, selfConfigFilename.c_str());
|
|
|
|
|
|
// And finally the dealer location
|
|
|
- load_single_instance_config(dealerIP, dealerPortStr, dealerPort, configDir + "/dealerIP.cfg");
|
|
|
+ load_single_instance_config(dealerIP, dealerPortStr, dealerPort, (configDir + "/dealerIP.cfg").c_str());
|
|
|
|
|
|
size_t numServers = serverIPs.size();
|
|
|
bool bgnDealer = selfIP == dealerIP && selfPort == dealerPort;
|