Skip to content

Commit 27326de

Browse files
authored
Merge pull request #2017 from l2dy/presence_xml
presence_xml: fix typo in NULL check
2 parents f775574 + 7bc6526 commit 27326de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/presence_xml/notify_body.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ int presence_offline_body(str* body, str** offline_body)
177177
}
178178

179179
pres_node= xmlDocGetNodeByName(doc, "presence", NULL);
180-
if(node== NULL)
180+
if(pres_node== NULL)
181181
{
182182
LM_ERR("while extracting presence node\n");
183183
goto done;

0 commit comments

Comments
 (0)