diff options
Diffstat (limited to 'tests/SOCK_Test.cpp')
| -rw-r--r-- | tests/SOCK_Test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/SOCK_Test.cpp b/tests/SOCK_Test.cpp index bf1bcf1a4dc..80dc6739726 100644 --- a/tests/SOCK_Test.cpp +++ b/tests/SOCK_Test.cpp @@ -208,9 +208,11 @@ spawn (void) { case -1: ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "fork failed")); - exit (-1); + /* NOTREACHED */ case 0: client (&server_addr); + exit (0); + /* NOTREACHED */ default: server ((void *) &peer_acceptor); ACE_OS::wait (); |
