diff options
Diffstat (limited to 'os/unix')
-rw-r--r-- | os/unix/unixd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c index d5b6c90b8e..595d6f6777 100644 --- a/os/unix/unixd.c +++ b/os/unix/unixd.c @@ -504,7 +504,7 @@ AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr, int sockdes; *accepted = NULL; - status = apr_accept(&csd, lr->sd, ptrans); + status = apr_socket_accept(&csd, lr->sd, ptrans); if (status == APR_SUCCESS) { *accepted = csd; apr_os_sock_get(&sockdes, csd); @@ -608,7 +608,7 @@ AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr, * occur in mobile IP. */ ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf, - "apr_accept: giving up."); + "apr_socket_accept: giving up."); return APR_EGENERAL; #endif /*ENETDOWN*/ @@ -625,7 +625,7 @@ AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr, #else default: ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, - "apr_accept: (client socket)"); + "apr_socket_accept: (client socket)"); return APR_EGENERAL; #endif } |