Skip to content

Commit

Permalink
It's "elsif", not "elseif"
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 22, 2014
1 parent 6840a15 commit 4e949fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/modules.c
Expand Up @@ -981,7 +981,7 @@ static int load_component_section(CONF_SECTION *cs,
next_cs = cf_itemtosection(next_ci);
next_name = cf_section_name1(next_cs);
if ((strcmp(next_name, "else") == 0) ||
(strcmp(next_name, "elseif") == 0)) {
(strcmp(next_name, "elsif") == 0)) {
c = NULL;
} else {
c = cf_data_find(scs, "if");
Expand All @@ -997,7 +997,6 @@ static int load_component_section(CONF_SECTION *cs,
}
}


} else if (cf_item_is_pair(modref)) {
cp = cf_itemtopair(modref);

Expand Down

0 comments on commit 4e949fb

Please sign in to comment.