diff --git a/Fltk/GmshServer.cpp b/Fltk/GmshServer.cpp
index dcdf046063c6ee950753831f8d95fc324947ff8d..b3a901bb62b4f609e84fdd93b93262704ddf256d 100644
--- a/Fltk/GmshServer.cpp
+++ b/Fltk/GmshServer.cpp
@@ -1,4 +1,4 @@
-/* $Id: GmshServer.cpp,v 1.22 2005-01-01 01:49:19 geuzaine Exp $ */
+/* $Id: GmshServer.cpp,v 1.23 2005-01-01 18:57:19 geuzaine Exp $ */
 /*
  * Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
  *
@@ -116,8 +116,6 @@ int Gmsh_StartClient(char *command, char *sockname)
   else{
     /* INET socket */
     port = strstr(sockname, ":");
-    if(!port)
-      return -1;  /* Error: Couldn't create socket */
     portno = atoi(port+1);
   }
 
diff --git a/utils/solvers/GmshClient.c b/utils/solvers/GmshClient.c
index 4a1b8c519a2db19dcd5adfc203037accbe31ac5f..e9bf922a7c84cda881ba5c77e188b0a22f4f9229 100644
--- a/utils/solvers/GmshClient.c
+++ b/utils/solvers/GmshClient.c
@@ -1,4 +1,4 @@
-/* $Id: GmshClient.c,v 1.9 2005-01-01 02:14:31 geuzaine Exp $ */
+/* $Id: GmshClient.c,v 1.10 2005-01-01 18:57:19 geuzaine Exp $ */
 /*
  * Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
  *
@@ -100,8 +100,6 @@ int Gmsh_Connect(char *sockname)
   else{
     /* INET socket */
     port = strstr(sockname, ":");
-    if(!port)
-      return -1; /* Error: Couldn't create socket */
     portno = atoi(port+1);
     remotelen = strlen(sockname) - strlen(port);
     if(remotelen > 0)