浏览代码

tm: log an error message as error, not debug

Alex Hermann 11 年之前
父节点
当前提交
54f19e018a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/tm/t_reply.c

+ 1 - 1
modules/tm/t_reply.c

@@ -599,7 +599,7 @@ static int _reply_light( struct cell *trans, char* buf, unsigned int len,
 	init_cancel_info(&cancel_data);
 	if (!buf)
 	{
-		DBG("DEBUG: _reply_light: response building failed\n");
+		LOG(L_ERR, "ERROR: _reply_light: response building failed\n");
 		/* determine if there are some branches to be canceled */
 		if ( is_invite(trans) ) {
 			prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0);