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
This commit is contained in:
Yann Ylavic
2018-05-29 20:22:44 +00:00
parent 5777ff9a22
commit ad2008443c

View File

@ -240,7 +240,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc,
rv = APR_SUCCESS; rv = APR_SUCCESS;
} }
} }
else if (rv == APR_SUCCESS || rv == APR_EOF) { else {
rv = APR_INCOMPLETE; rv = APR_INCOMPLETE;
} }
} }
@ -248,7 +248,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc,
rv = APR_EOF; rv = APR_EOF;
} }
} }
else if (rv == APR_SUCCESS || rv == APR_EOF) { else {
rv = APR_INCOMPLETE; rv = APR_INCOMPLETE;
} }
} }
@ -266,7 +266,7 @@ static apr_status_t restore_slotmem(sharedslotdesc_t *desc,
rv = APR_SUCCESS; rv = APR_SUCCESS;
} }
} }
else if (rv == APR_SUCCESS || rv == APR_EOF) { else {
rv = APR_INCOMPLETE; rv = APR_INCOMPLETE;
} }
if (rv == APR_INCOMPLETE) { if (rv == APR_INCOMPLETE) {