[sr-dev] git:master:733fd5da: dmq_usrloc: update get_all_ucontacts API request
Victor Seva
linuxmaniac at torreviejawireless.org
Tue Jul 7 14:14:11 CEST 2015
Module: kamailio
Branch: master
Commit: 733fd5daf74963b152a2964f9eea1a6fff91858a
URL: https://github.com/kamailio/kamailio/commit/733fd5daf74963b152a2964f9eea1a6fff91858a
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2015-07-07T13:04:00+02:00
dmq_usrloc: update get_all_ucontacts API request
Fixes: #236
---
Modified: modules/dmq_usrloc/usrloc_sync.c
---
Diff: https://github.com/kamailio/kamailio/commit/733fd5daf74963b152a2964f9eea1a6fff91858a.diff
Patch: https://github.com/kamailio/kamailio/commit/733fd5daf74963b152a2964f9eea1a6fff91858a.patch
---
diff --git a/modules/dmq_usrloc/usrloc_sync.c b/modules/dmq_usrloc/usrloc_sync.c
index 856d110..20dbbf0 100644
--- a/modules/dmq_usrloc/usrloc_sync.c
+++ b/modules/dmq_usrloc/usrloc_sync.c
@@ -116,7 +116,7 @@ void usrloc_get_all_ucontact(dmq_node_t* node)
LM_ERR("dmq_ul.get_all_ucontacts is NULL\n");
goto done;
}
- rval = dmq_ul.get_all_ucontacts(buf, len, 0, 0, 1);
+ rval = dmq_ul.get_all_ucontacts(buf, len, 0, 0, 1, 0);
if (rval<0) {
LM_ERR("failed to fetch contacts\n");
goto done;
@@ -130,7 +130,7 @@ void usrloc_get_all_ucontact(dmq_node_t* node)
LM_ERR("out of pkg memory\n");
goto done;
}
- rval = dmq_ul.get_all_ucontacts(buf, len, 0, 0, 1);
+ rval = dmq_ul.get_all_ucontacts(buf, len, 0, 0, 1, 0);
if (rval != 0) {
pkg_free(buf);
goto done;
More information about the sr-dev
mailing list