Module: kamailio Branch: master Commit: a0a18cc28dafe3b4bd73bf5e0d2d848d39b72668 URL: https://github.com/kamailio/kamailio/commit/a0a18cc28dafe3b4bd73bf5e0d2d848d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-04-14T12:15:48+02:00
presence_xml: pass pres uri as pointer for pres_update_watchers()
---
Modified: src/modules/presence_xml/presence_xml.c
---
Diff: https://github.com/kamailio/kamailio/commit/a0a18cc28dafe3b4bd73bf5e0d2d848d... Patch: https://github.com/kamailio/kamailio/commit/a0a18cc28dafe3b4bd73bf5e0d2d848d...
---
diff --git a/src/modules/presence_xml/presence_xml.c b/src/modules/presence_xml/presence_xml.c index faf4c91360..82e57d2f55 100644 --- a/src/modules/presence_xml/presence_xml.c +++ b/src/modules/presence_xml/presence_xml.c @@ -448,7 +448,7 @@ static int xcap_doc_updated(int doc_type, str xid, char *doc) rules_doc.s = doc; rules_doc.len = strlen(doc);
- if(pres_update_watchers(xid, &ev, &rules_doc) < 0) { + if(pres_update_watchers(&xid, &ev, &rules_doc) < 0) { LM_ERR("updating watchers in presence\n"); return -1; }