Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
79b101f7
Commit
79b101f7
authored
Mar 05, 2020
by
legoc
Browse files
Corrected bug: request socket was initialised after initUnmanagedApplication
parent
7ec088ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cameo/Application.cpp
View file @
79b101f7
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment