[sr-dev] git:master: modules_k/presence_xml: Updated to use watcher_user and watcher_domain fields in subs_t
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Thu Apr 19 19:12:35 CEST 2012
Module: sip-router
Branch: master
Commit: 23455ed6e08cecd5fe7b22cdb3acd2440435f5b1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=23455ed6e08cecd5fe7b22cdb3acd2440435f5b1
Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date: Thu Apr 19 17:59:26 2012 +0100
modules_k/presence_xml: Updated to use watcher_user and watcher_domain fields in subs_t
- Currently uses the from_user and from_domain fields which are no
longer correct.
---
modules_k/presence_xml/xcap_auth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/presence_xml/xcap_auth.c b/modules_k/presence_xml/xcap_auth.c
index 9838a06..3f0fee4 100644
--- a/modules_k/presence_xml/xcap_auth.c
+++ b/modules_k/presence_xml/xcap_auth.c
@@ -170,7 +170,7 @@ xmlNodePtr get_rule_node(subs_t* subs, xmlDocPtr xcap_tree )
int valid= 0;
- uandd_to_uri(subs->from_user, subs->from_domain, &w_uri);
+ uandd_to_uri(subs->watcher_user, subs->watcher_domain, &w_uri);
if(w_uri.s == NULL)
{
LM_ERR("while creating uri\n");
More information about the sr-dev
mailing list