Skip to content
Snippets Groups Projects
Commit 0dc9f6a1 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

minor modification in NetworkClient

parent c0880a1c
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ bool NetworkClient::SendHeartbeat(){
counter++;
if (counter>20){
Alert << "Could not send heartbeat last time" << endmsg;
exit(0);
exit(1);
}
WarningMsg << "Try to send heartbeat again!!!" << endmsg;
}
......@@ -185,6 +185,7 @@ bool NetworkClient::WaitForParams(){
if(serverMessage == NetworkServer::SERVERMESSAGE_CLOSE){
InfoMsg << "Received goodbye. Exiting." << endmsg;
exit(0);
return true;
}
else if(serverMessage != NetworkServer::SERVERMESSAGE_PARAMS){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment