Explorar el Código

modules/ims_charging: correct analysis of return value for t_suspend

jaybeepee hace 9 años
padre
commit
cc94a3751d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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");
 	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");
 		LM_ERR("failed to suspend the TM processing\n");
 		ret =  RO_RETURN_ERROR;
 		ret =  RO_RETURN_ERROR;
 		goto done;
 		goto done;