[sr-dev] git:master:44c5a4b7: modules/ims_qos: correct analysis of return value for t_suspend
jaybeepee
jason.penton at gmail.com
Mon Nov 30 20:06:51 CET 2015
Module: kamailio
Branch: master
Commit: 44c5a4b744f5b6e248103df267405796b1b49834
URL: https://github.com/kamailio/kamailio/commit/44c5a4b744f5b6e248103df267405796b1b49834
Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2015-11-30T21:05:42+02:00
modules/ims_qos: correct analysis of return value for t_suspend
---
Modified: modules/ims_qos/mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/44c5a4b744f5b6e248103df267405796b1b49834.diff
Patch: https://github.com/kamailio/kamailio/commit/44c5a4b744f5b6e248103df267405796b1b49834.patch
---
diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index c5cb363..cb64390 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -892,7 +892,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* dir, char *c_id, int
}
LM_DBG("Suspending SIP TM transaction\n");
- if (tmb.t_suspend(msg, &saved_t_data->tindex, &saved_t_data->tlabel) < 0) {
+ if (tmb.t_suspend(msg, &saved_t_data->tindex, &saved_t_data->tlabel) != 0) {
LM_ERR("failed to suspend the TM processing\n");
if (auth_session) cdpb.AAASessionsUnlock(auth_session->hash);
goto error;
More information about the sr-dev
mailing list