Browse Source

modules/ims_charging: correct analysis of return value for t_suspend

jaybeepee 9 years ago
parent
commit
cc94a3751d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/ims_charging/mod.c

+ 1 - 1
modules/ims_charging/mod.c

@@ -499,7 +499,7 @@ send_ccr:
 	}
 
 	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;