Module: sip-router
Branch: master
Commit: 51cba8039863a92a5050b6932bb8a9155edcf39b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=51cba8039863a92a5050b6932bb8a9155edcf39b

Author: Alex Balashov <[email protected]>
Committer: Alex Balashov <[email protected]>
Date:   Wed Dec 19 13:23:09 2012 -0500

dialog(k): Fixed typo in loop in set_dlg_timeout_by_profile() so that
_all_ the dialogs actually get killed, not just the first one.

---

 modules_k/dialog/dlg_profile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/dialog/dlg_profile.c b/modules_k/dialog/dlg_profile.c
index 6f7e687..41802ea 100644
--- a/modules_k/dialog/dlg_profile.c
+++ b/modules_k/dialog/dlg_profile.c
@@ -761,9 +761,9 @@ int dlg_set_timeout_by_profile(struct dlg_profile_table 
*profile,
                                                return -1;
                                        }
                                }
-                       } while(ph != profile->entries[i].first);
 
-                       ph = ph->next;
+                               ph = ph->next;
+                       } while(ph != profile->entries[i].first);
                }
 
                lock_release(&profile->lock);


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to