Skip to content

Commit

Permalink
node->cs can't be NULL. Closes CID #1298632
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed May 17, 2015
1 parent 646b2ff commit e01cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ module_instance_t *module_instantiate(CONF_SECTION *modules, char const *askedna
* Now that ALL modules are instantiated, and ALL xlats
* are defined, go compile the config items marked as XLAT.
*/
if (node->entry->module->config && node->cs &&
if (node->entry->module->config &&
(cf_section_parse_pass2(node->cs, node->insthandle,
node->entry->module->config) < 0)) {
return NULL;
Expand Down

0 comments on commit e01cc63

Please sign in to comment.