Module: sip-router Branch: master Commit: a1edd20adff116ce78083ca9744e7072e0305728 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a1edd20a...
Author: Hugh Waite hugh.waite@crocodile-rcs.com Committer: Hugh Waite hugh.waite@crocodile-rcs.com Date: Wed Apr 10 11:10:27 2013 +0100
modules/registrar: Remove unnecessary BRANCH_FAILURE flags
Functions that run in an event route require the EVENT_ROUTE / REQUEST_ROUTE flag set, not the BRANCH_FAILURE_ROUTE flag
---
modules/registrar/reg_mod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/registrar/reg_mod.c b/modules/registrar/reg_mod.c index a32909a..f07a44a 100644 --- a/modules/registrar/reg_mod.c +++ b/modules/registrar/reg_mod.c @@ -188,7 +188,7 @@ static cmd_export_t cmds[] = { {"unregister", (cmd_function)w_unregister, 2, unreg_fixup, 0, REQUEST_ROUTE| FAILURE_ROUTE }, {"unregister", (cmd_function)w_unregister2, 3, unreg_fixup, 0, - REQUEST_ROUTE| FAILURE_ROUTE | BRANCH_FAILURE_ROUTE }, + REQUEST_ROUTE| FAILURE_ROUTE }, {"reg_fetch_contacts", (cmd_function)pv_fetch_contacts, 3, fetchc_fixup, 0, REQUEST_ROUTE| FAILURE_ROUTE },