mirror of https://github.com/sipwise/kamailio.git
Change-Id: Ic343ada9254c4d9eac1f19966b9abeb72abbc8dbchanges/33/2333/1
parent
a6b39bc72d
commit
7a2c1f8646
@ -0,0 +1,36 @@
|
||||
From 160a9ae1f9bbd3451911a3a19f271142f8f6c98d Mon Sep 17 00:00:00 2001
|
||||
From: Victor Seva <linuxmaniac@torreviejawireless.org>
|
||||
Date: Tue, 7 Jul 2015 13:04:00 +0200
|
||||
Subject: [PATCH] dmq_usrloc: update get_all_ucontacts API request
|
||||
|
||||
Fixes: #236
|
||||
(cherry picked from commit 733fd5daf74963b152a2964f9eea1a6fff91858a)
|
||||
---
|
||||
modules/dmq_usrloc/usrloc_sync.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/modules/dmq_usrloc/usrloc_sync.c b/modules/dmq_usrloc/usrloc_sync.c
|
||||
index 3bd0c24..6a77b00 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;
|
||||
--
|
||||
2.1.4
|
||||
|
Loading…
Reference in new issue