diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-05-29 20:22:44 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-05-29 20:22:44 +0000 |
commit | ad2008443c22be8df994f8cfb0b9509cb7626aa4 (patch) | |
tree | 7666c1403e12c9f135d7ca5f347dc2eb11d3ec60 | |
parent | 5777ff9a220c2b2494879c9a441e109259cee0ad (diff) | |
download | httpd-ad2008443c22be8df994f8cfb0b9509cb7626aa4.tar.gz |
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
-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) { |