we don't supply a bogus socket to the caller if the accept fails.
(This was causing problems in the worker MPM, which tried to process
the returned socket if it was non-NULL, even if unixd_accept()
returned an error.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92837
13f79535-47bb-0310-9956-
ffa450edef68
apr_status_t status;
int sockdes;
+ *accepted = NULL;
status = apr_accept(&csd, lr->sd, ptrans);
if (status == APR_SUCCESS) {
*accepted = csd;