diff options
Diffstat (limited to 'src/Sockets.c')
-rw-r--r-- | src/Sockets.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/Sockets.c b/src/Sockets.c index 9d52218..d4a4710 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -275,14 +275,17 @@ int HTTP_Poll(cGH *cctkGH, long sec, long usec) if (ERROR_CHECK(new)) { perror ("accept"); - CCTK_Abort(cctkGH, EXIT_FAILURE); + /*CCTK_Abort(cctkGH, EXIT_FAILURE);*/ } - fprintf (stderr, - "Server: connect from host %s, port %hd.\n", - inet_ntoa (clientname.sin_addr), - ntohs (clientname.sin_port)); + else + { + fprintf (stderr, + "Server: connect from host %s, port %hd.\n", + inet_ntoa (clientname.sin_addr), + ntohs (clientname.sin_port)); - SocketCreate(new); + SocketCreate(new); + } } for(this = socklist; this; this = next) |