[sr-dev] git:master:a0a18cc2: presence_xml: pass pres uri as pointer for pres_update_watchers()

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 14 12:16:04 CEST 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/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;
 	}




More information about the sr-dev mailing list