diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-05-29 22:22:44 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-05-29 22:22:44 +0200 |
commit | ad2008443c22be8df994f8cfb0b9509cb7626aa4 (patch) | |
tree | 7666c1403e12c9f135d7ca5f347dc2eb11d3ec60 /modules | |
parent | Rpm: fix the location of the PID file so as to avoid timeout (diff) | |
download | apache2-ad2008443c22be8df994f8cfb0b9509cb7626aa4.tar.xz apache2-ad2008443c22be8df994f8cfb0b9509cb7626aa4.zip |
mod_slotmem_shm: follow up to r1831869: fix dead else if condition.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832479 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/slotmem/mod_slotmem_shm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/slotmem/mod_slotmem_shm.c b/modules/slotmem/mod_slotmem_shm.c index 8979a9d6d1..7dffef19fc 100644 --- a/modules/slotmem/mod_slotmem_shm.c +++ b/modules/slotmem/mod_slotmem_shm.c @@ -240,7 +240,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc, rv = APR_SUCCESS; } } - else if (rv == APR_SUCCESS || rv == APR_EOF) { + else { rv = APR_INCOMPLETE; } } @@ -248,7 +248,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc, rv = APR_EOF; } } - else if (rv == APR_SUCCESS || rv == APR_EOF) { + else { rv = APR_INCOMPLETE; } } @@ -266,7 +266,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc, rv = APR_SUCCESS; } } - else if (rv == APR_SUCCESS || rv == APR_EOF) { + else { rv = APR_INCOMPLETE; } if (rv == APR_INCOMPLETE) { |