diff options
Diffstat (limited to 'test/testsockopt.c')
-rw-r--r-- | test/testsockopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsockopt.c b/test/testsockopt.c index f0b9641bf..6cec1e1f2 100644 --- a/test/testsockopt.c +++ b/test/testsockopt.c @@ -103,7 +103,7 @@ int main(void) printf("Testing socket option functions.\n"); printf("\tCreating socket.........................."); - if ((stat = apr_socket_create(&sock, APR_INET, SOCK_STREAM, context)) + if ((stat = apr_socket_create(&sock, APR_INET, SOCK_STREAM, APR_NO_INHERIT, context)) != APR_SUCCESS){ printf("Failed to create a socket!\n"); exit(-1); |