diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2013-11-17 20:42:41 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2013-11-17 20:42:41 +0100 |
commit | baa588a08b05242d319966e4846ef2dfc4bc5e97 (patch) | |
tree | b752d4520016932f285a44863a182c661811f482 /server/mpm_unix.c | |
parent | [trunk][doc] Introducing .fr translation for mod_auth_form.xml (diff) | |
download | apache2-baa588a08b05242d319966e4846ef2dfc4bc5e97.tar.xz apache2-baa588a08b05242d319966e4846ef2dfc4bc5e97.zip |
Remove useless spaces that are not in 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/mpm_unix.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/mpm_unix.c b/server/mpm_unix.c index ca880e5db7..0000cb6672 100644 --- a/server/mpm_unix.c +++ b/server/mpm_unix.c @@ -504,7 +504,7 @@ static apr_status_t pod_signal_internal(ap_pod_t *pod) AP_DECLARE(apr_status_t) ap_mpm_podx_open(apr_pool_t *p, ap_pod_t **pod) { apr_status_t rv; - + *pod = apr_palloc(p, sizeof(**pod)); rv = apr_file_pipe_create(&((*pod)->pod_in), &((*pod)->pod_out), p); if (rv != APR_SUCCESS) { @@ -514,11 +514,11 @@ AP_DECLARE(apr_status_t) ap_mpm_podx_open(apr_pool_t *p, ap_pod_t **pod) apr_file_pipe_timeout_set((*pod)->pod_in, 0); */ (*pod)->p = p; - + /* close these before exec. */ apr_file_inherit_unset((*pod)->pod_in); apr_file_inherit_unset((*pod)->pod_out); - + return APR_SUCCESS; } @@ -527,7 +527,7 @@ AP_DECLARE(int) ap_mpm_podx_check(ap_pod_t *pod) char c; apr_os_file_t fd; int rc; - + /* we need to surface EINTR so we'll have to grab the * native file descriptor and do the OS read() ourselves */ @@ -547,12 +547,12 @@ AP_DECLARE(int) ap_mpm_podx_check(ap_pod_t *pod) AP_DECLARE(apr_status_t) ap_mpm_podx_close(ap_pod_t *pod) { apr_status_t rv; - + rv = apr_file_close(pod->pod_out); if (rv != APR_SUCCESS) { return rv; } - + rv = apr_file_close(pod->pod_in); if (rv != APR_SUCCESS) { return rv; @@ -576,7 +576,7 @@ static apr_status_t podx_signal_internal(ap_pod_t *pod, case AP_MPM_PODX_NORESTART: break; } - + rv = apr_file_write(pod->pod_out, &char_of_death, &one); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, APLOGNO(2404) @@ -596,7 +596,7 @@ AP_DECLARE(void) ap_mpm_podx_killpg(ap_pod_t * pod, int num, { int i; apr_status_t rv = APR_SUCCESS; - + for (i = 0; i < num && rv == APR_SUCCESS; i++) { rv = podx_signal_internal(pod, graceful); } |