Skip to content
Snippets Groups Projects
Commit 4f3f76f6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

typo
parent f75b0490
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class GmshServer { ...@@ -151,7 +151,7 @@ class GmshServer {
else{ else{
// TCP/IP socket // TCP/IP socket
char *port = strstr(_sockname, ":"); char *port = strstr(_sockname, ":");
_portno = atoi(port+1); _portno = atoi(port + 1);
} }
if(_portno < 0){ if(_portno < 0){
......
// $Id: Solvers.cpp,v 1.49 2006-02-25 05:27:59 geuzaine Exp $ // $Id: Solvers.cpp,v 1.50 2006-03-10 15:54:30 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -186,7 +186,7 @@ int Solver(int num, char *args) ...@@ -186,7 +186,7 @@ int Solver(int num, char *args)
int type, length; int type, length;
if(server.ReceiveMessageHeader(&type, &length)){ if(server.ReceiveMessageHeader(&type, &length)){
char *message = new char[length+1]; char *message = new char[length + 1];
if(server.ReceiveMessageBody(length, message)){ if(server.ReceiveMessageBody(length, message)){
switch (type) { switch (type) {
case GmshServer::CLIENT_START: case GmshServer::CLIENT_START:
...@@ -253,7 +253,7 @@ int Solver(int num, char *args) ...@@ -253,7 +253,7 @@ int Solver(int num, char *args)
WID->check(); WID->check();
} }
else{ else{
Msg(WARNING, "Failed to receive message body on socket: arborting"); Msg(WARNING, "Failed to receive message body on socket: aborting");
break; break;
} }
delete [] message; delete [] message;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment