瀏覽代碼

modules/ims_charging: correct analysis of return value for t_suspend

jaybeepee 9 年之前
父節點
當前提交
cc94a3751d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;