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

*** empty log message ***

parent 3e632207
No related branches found
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ class GmshClient : public GmshSocket { ...@@ -214,7 +214,7 @@ class GmshClient : public GmshSocket {
if(_sock < 0) if(_sock < 0)
return -1; // Error: Couldn't create socket return -1; // Error: Couldn't create socket
// try to connect socket to host:port // try to connect socket to host:port
char *port = strstr(sockname, ":"); const char *port = strstr(sockname, ":");
int portno = atoi(port + 1); int portno = atoi(port + 1);
int remotelen = strlen(sockname) - strlen(port); int remotelen = strlen(sockname) - strlen(port);
char remote[256]; char remote[256];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment