Module: kamailio
Branch: master
Commit: cc94a3751dd536053846d7a569e8062d8cfbea7f
URL:
https://github.com/kamailio/kamailio/commit/cc94a3751dd536053846d7a569e8062…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2015-11-30T21:09:04+02:00
modules/ims_charging: correct analysis of return value for t_suspend
---
Modified: modules/ims_charging/mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cc94a3751dd536053846d7a569e8062…
Patch:
https://github.com/kamailio/kamailio/commit/cc94a3751dd536053846d7a569e8062…
---
diff --git a/modules/ims_charging/mod.c b/modules/ims_charging/mod.c
index d2f371d..9dae820 100644
--- a/modules/ims_charging/mod.c
+++ b/modules/ims_charging/mod.c
@@ -499,7 +499,7 @@ static int w_ro_ccr(struct sip_msg *msg, char* c_route_name, char*
c_direction,
}
LM_DBG("Suspending SIP TM transaction\n");
- if (tmb.t_suspend(msg, &tindex, &tlabel) < 0) {
+ if (tmb.t_suspend(msg, &tindex, &tlabel) != 0) {
LM_ERR("failed to suspend the TM processing\n");
ret = RO_RETURN_ERROR;
goto done;