summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/core.c b/server/core.c
index 5c065121be..d4d868d7d8 100644
--- a/server/core.c
+++ b/server/core.c
@@ -1906,8 +1906,10 @@ static const char *set_override(cmd_parms *cmd, void *d_, const char *l)
}
else if (!ap_cstr_casecmp(k, "Options")) {
d->override |= OR_OPTIONS;
- if (v)
- set_allow_opts(cmd, &(d->override_opts), v);
+ if (v) {
+ if ((err = set_allow_opts(cmd, &(d->override_opts), v)) != NULL)
+ return err;
+ }
else
d->override_opts = OPT_ALL;
}