[sr-dev] git:hpw/branch_failure_route: modules/tm: Fix t_next_contact_flow return value
Hugh Waite
hugh.waite at crocodile-rcs.com
Wed Apr 3 17:19:30 CEST 2013
Module: sip-router
Branch: hpw/branch_failure_route
Commit: 6a9048a14bae1fd9a66239533a9af23ad390ab20
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6a9048a14bae1fd9a66239533a9af23ad390ab20
Author: Hugh Waite <hugh.waite at crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite at crocodile-rcs.com>
Date: Wed Apr 3 16:18:14 2013 +0100
modules/tm: Fix t_next_contact_flow return value
- Return 1 if a new flow was found
- Return -1 if not found
---
modules/tm/t_serial.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/tm/t_serial.c b/modules/tm/t_serial.c
index 9770859..576cdd9 100644
--- a/modules/tm/t_serial.c
+++ b/modules/tm/t_serial.c
@@ -734,9 +734,10 @@ int t_next_contact_flow(struct sip_msg* msg, char* key, char* value)
}
xavp_rm(xavp, NULL);
+ return 1;
next_xavp:
xavp = next_xavp;
}
- return 1;
+ return -1;
}
More information about the sr-dev
mailing list