瀏覽代碼

- 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;