rbb 01/07/16 13:24:22
Modified: network_io/unix sockets.c
Log:
We need to use the correct flag in apr_accept. Apr_accept doesn't get the
inherit flag passed in, so we need to find it in the structure.
Revision Changes Path
1.79 +1 -1 apr/network_io/unix/sockets.c
Index: sockets.c
===================================================================
RCS file: /home/cvs/apr/network_io/unix/sockets.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- sockets.c 2001/07/16 18:14:23 1.78
+++ sockets.c 2001/07/16 20:24:21 1.79
@@ -256,7 +256,7 @@
(*new)->inherit = sock->inherit;
apr_pool_cleanup_register((*new)->cntxt, (void *)(*new), socket_cleanup,
- (inherit & APR_INHERIT) ? apr_pool_cleanup_null
+ ((*new)->inherit & APR_INHERIT) ?
apr_pool_cleanup_null
: socket_cleanup);
return APR_SUCCESS;
}