summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/slotmem/mod_slotmem_shm.c6
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) {