From: Alan T. DeKok Date: Fri, 4 Oct 2013 13:27:32 +0000 (-0400) Subject: Revert afe57485. Fixes #442 X-Git-Tag: release_3_0_0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82a63e98b991465fee33c68faa093a9708d8c47b;p=thirdparty%2Ffreeradius-server.git Revert afe57485. Fixes #442 --- diff --git a/src/main/modcall.c b/src/main/modcall.c index 44d9c868a6..dac7c7c575 100644 --- a/src/main/modcall.c +++ b/src/main/modcall.c @@ -1895,8 +1895,7 @@ static modcallable *do_compile_modsingle(modcallable *parent, *modname = name2; - if (!parent || - (parent->type != MOD_SWITCH)) { + if (!parent) { cf_log_err(ci, "\"case\" statements may only appear within a \"switch\" section"); return NULL; }