Skip to content

Commit

Permalink
Merge pull request #2017 from l2dy/presence_xml
Browse files Browse the repository at this point in the history
presence_xml: fix typo in NULL check
  • Loading branch information
liviuchircu committed Mar 12, 2020
2 parents f775574 + 7bc6526 commit 27326de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/presence_xml/notify_body.c
Expand Up @@ -177,7 +177,7 @@ int presence_offline_body(str* body, str** offline_body)
}

pres_node= xmlDocGetNodeByName(doc, "presence", NULL);
if(node== NULL)
if(pres_node== NULL)
{
LM_ERR("while extracting presence node\n");
goto done;
Expand Down

0 comments on commit 27326de

Please sign in to comment.