Commit 79b101f7 authored by legoc's avatar legoc
Browse files

Corrected bug: request socket was initialised after initUnmanagedApplication

parent 7ec088ec
......@@ -144,6 +144,9 @@ void This::initApplication(int argc, char *argv[]) {
// However leave the same value seems to be ok.
m_serverEndpoint = m_url + ":" + port;
// Create the request socket. The server endpoint has been defined.
Services::initRequestSocket();
string nameId = tokens[3];
int index = nameId.find_last_of('.');
......@@ -181,9 +184,6 @@ void This::initApplication(int argc, char *argv[]) {
}
}
// Create the request socket. The server endpoint has been defined.
Services::initRequestSocket();
// Must be here because the server endpoint is required.
initStatus();
......
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