Skip to content

Commit

Permalink
evi: subs can never be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 19, 2016
1 parent b33f1ac commit 3560844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evi/event_interface.c
Expand Up @@ -513,7 +513,7 @@ static int evi_print_subscriber(struct mi_node *rpl, evi_subs_p subs)
struct mi_node *node = NULL;
str socket;

if (!subs || !subs->trans_mod || !subs->trans_mod->print) {
if (!subs->trans_mod || !subs->trans_mod->print) {
LM_ERR("subscriber does not have a print method exported\n");
return -1;
}
Expand Down

0 comments on commit 3560844

Please sign in to comment.