소스 검색

- condition fixup

Bogdan-Andrei Iancu 21 년 전
부모
커밋
f4aaeea38d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/tm/t_hooks.c

+ 1 - 1
modules/tm/t_hooks.c

@@ -121,7 +121,7 @@ int register_tmcb( struct sip_msg* p_msg, struct cell *t, int types,
 	struct tmcb_head_list *cb_list;
 
 	/* are the callback types valid?... */
-	if ( types<0 || types>=TMCB_MAX ) {
+	if ( types<0 || types>TMCB_MAX ) {
 		LOG(L_CRIT, "BUG:tm:register_tmcb: invalid callback types: mask=%d\n",
 			types);
 		return E_BUG;