Module: kamailio
Branch: master
Commit: a0a18cc28dafe3b4bd73bf5e0d2d848d39b72668
URL: 
https://github.com/kamailio/kamailio/commit/a0a18cc28dafe3b4bd73bf5e0d2d848d39b72668

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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/a0a18cc28dafe3b4bd73bf5e0d2d848d39b72668.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a0a18cc28dafe3b4bd73bf5e0d2d848d39b72668.patch

---

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;
        }


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to