MT#10339 add patch to fix dmq_usrloc build after usrloc patches

Change-Id: Ic343ada9254c4d9eac1f19966b9abeb72abbc8db
changes/33/2333/1
Victor Seva 10 years ago
parent a6b39bc72d
commit 7a2c1f8646

@ -22,4 +22,5 @@ sipwise/usrloc_dbro.patch
sipwise/0001-usrloc-support-filter-by-server_id-at-get_all_uconta.patch
sipwise/0002-usrloc-add-module-option-to-support-preload-using-se.patch
sipwise/0003-nathelper-support-filter-contacts-by-server_id.patch
sipwise/0001-dmq_usrloc-update-get_all_ucontacts-API-request.patch
##

@ -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…
Cancel
Save