diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-07-18 16:51:49 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-07-18 16:51:49 +0000 |
commit | 2721a1c872f96b24ca7e1fce54af6d3147664170 (patch) | |
tree | cf0aae714032f6676c028e16a4f4f6f126988fcd /test/testsockets.c | |
parent | e979b4049d384b5c41ec4b17bbc6b19c9a18fa21 (diff) | |
download | apr-2721a1c872f96b24ca7e1fce54af6d3147664170.tar.gz |
Back out the inherit flag from apr_socket_create/apr_os_socket_put.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61957 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsockets.c')
-rw-r--r-- | test/testsockets.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/testsockets.c b/test/testsockets.c index 82c4af7d7..8fc74b937 100644 --- a/test/testsockets.c +++ b/test/testsockets.c @@ -101,20 +101,20 @@ int main(void) printf("Testing socket creation functions.\n"); STD_TEST_NEQ(" Creating a TCP socket", - apr_socket_create(&sock, APR_INET, SOCK_STREAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock, APR_INET, SOCK_STREAM, pool)) close_sock(sock); STD_TEST_NEQ(" Creating UDP socket", - apr_socket_create(&sock, APR_INET, SOCK_DGRAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock, APR_INET, SOCK_DGRAM, pool)) close_sock(sock); #if APR_HAVE_IPV6 STD_TEST_NEQ(" Creating an IPv6 TCP socket", - apr_socket_create(&sock, APR_INET6, SOCK_STREAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock, APR_INET6, SOCK_STREAM, pool)) close_sock(sock); STD_TEST_NEQ(" Creating an IPv6 UDP socket", - apr_socket_create(&sock, APR_INET6, SOCK_DGRAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock, APR_INET6, SOCK_DGRAM, pool)) close_sock(sock); #else printf("NO IPv6 support.\n"); @@ -123,9 +123,9 @@ int main(void) printf("Now trying sendto/recvfrom (simple tests only)\n"); STD_TEST_NEQ(" Creating socket #1 for test", - apr_socket_create(&sock, family, SOCK_DGRAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock, family, SOCK_DGRAM, pool)) STD_TEST_NEQ(" Creating socket #2 for test", - apr_socket_create(&sock2, family, SOCK_DGRAM, APR_NO_INHERIT, pool)) + apr_socket_create(&sock2, family, SOCK_DGRAM, pool)) apr_sockaddr_info_get(&to, US, APR_UNSPEC, 7772, 0, pool); apr_sockaddr_info_get(&from, US, APR_UNSPEC, 7771, 0, pool); |