diff options
author | Adam Mitz <mitza@ociweb.com> | 2015-11-06 17:07:11 -0600 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2015-11-06 17:07:11 -0600 |
commit | ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch) | |
tree | 0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/tests/SOCK_Test.cpp | |
parent | 5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff) | |
download | ATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz |
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/tests/SOCK_Test.cpp')
-rw-r--r-- | ACE/tests/SOCK_Test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ACE/tests/SOCK_Test.cpp b/ACE/tests/SOCK_Test.cpp index 3fe937e0b98..611ac56a789 100644 --- a/ACE/tests/SOCK_Test.cpp +++ b/ACE/tests/SOCK_Test.cpp @@ -28,7 +28,7 @@ static const char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz"; -static void * +void * client (void *arg) { ACE_INET_Addr *remote_addr = (ACE_INET_Addr *) arg; @@ -96,7 +96,7 @@ client (void *arg) return 0; } -static void * +void * server (void *arg) { ACE_SOCK_Acceptor *peer_acceptor = (ACE_SOCK_Acceptor *) arg; @@ -180,7 +180,7 @@ server (void *arg) return 0; } -static void +void spawn (void) { // Acceptor @@ -252,7 +252,9 @@ run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("SOCK_Test")); +#ifndef ACE_LACKS_ACCEPT spawn (); +#endif ACE_END_TEST; return 0; |