Commit 1301232c authored by Locatelli's avatar Locatelli

Correct previous bug for other executable of the project

parent ee899ef0
......@@ -260,7 +260,8 @@ int32 main(int32 argc, char* argv[]) {
sim = true;
}
// The Cameo server endpoint + the name of the app must be passed when the client is unmanaged.
char* args = (char*) getServerEndPoint("moduleunitarytest").c_str();
string tmp = getServerEndPoint("moduleunitarytest");
char* args = (char*) tmp.c_str();
int32 err = EXIT_SUCCESS;
application::This::init(1, &args);
{
......
......@@ -377,7 +377,8 @@ int32 main(int32 argc, char* argv[]) {
Server server("tcp://localhost:7000");
// The Cameo server endpoint + the name of the app must be passed when the client is unmanaged.
char* args = (char*)getServerEndPoint("nomadimagej").c_str();
string tmp = getServerEndPoint("nomadimagej");
char* args = (char*) tmp.c_str();
int32 err = EXIT_SUCCESS;
application::This::init(1, &args);
{
......
......@@ -625,7 +625,8 @@ int32 main(int32 argc, char *argv[]) {
Server server("tcp://localhost:7000");
// The Cameo server endpoint + the name of the app must be passed when the client is unmanaged.
char* args = (char*)getServerEndPoint("nomadshell").c_str();
string tmp = getServerEndPoint("nomadshell");
char* args = (char*) tmp.c_str();
int32 err = EXIT_SUCCESS;
application::This::init(1, &args);
{
......
......@@ -320,7 +320,8 @@ int32 main(int32 argc, char* argv[]) {
Server server("tcp://" + string(name) + ":7000");
// The Cameo server endpoint + the name of the app must be passed when the client is unmanaged.
char* args = (char*)getServerEndPoint("oldnomadstate").c_str();
string tmp = getServerEndPoint("oldnomadstate");
char* args = (char*) tmp.c_str();
int32 err = EXIT_SUCCESS;
application::This::init(1, &args);
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment