From 8029691be7d64960100590d08bdb1006d18d0f3b Mon Sep 17 00:00:00 2001 From: Federico Cabiddu Date: Thu, 23 Jul 2015 15:25:44 +0200 Subject: [PATCH] modules/tm: cycle through all the uac while checking for already existing branches (cherry picked from commit 96ac163139976e8a9dea0e7252c66294054281b4) --- modules/tm/t_append_branches.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tm/t_append_branches.c b/modules/tm/t_append_branches.c index 384c3016293..37f80254034 100644 --- a/modules/tm/t_append_branches.c +++ b/modules/tm/t_append_branches.c @@ -119,7 +119,7 @@ int t_append_branches(void) { &bflags, &si, &ruid, &instance, &location_ua))) { LM_DBG("Current uri %.*s\n",current_uri.len, current_uri.s); - for (i=0; iuac[i].ruid.len == ruid.len && !memcmp(t->uac[i].ruid.s, ruid.s, ruid.len)) { LM_DBG("branch already added [%.*s]\n", ruid.len, ruid.s);