浏览代码

tm: fix minor tm_load_xapi bug

Due to a typo the check for load_xtm not found was wrong.
Andrei Pelinescu-Onciul 14 年之前
父节点
当前提交
0a4683f73e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/tm/tm_load.h

+ 1 - 1
modules/tm/tm_load.h

@@ -191,7 +191,7 @@ static inline int tm_load_xapi(tm_xapi_t *xtmb)
 	/* import the TM auto-loading function */
 	load_xtm = (load_xtm_f)find_export("load_xtm", NO_SCRIPT, 0);
 
-	if (load_tm == NULL) {
+	if (load_xtm == NULL) {
 		LOG(L_WARN, "Cannot import load_xtm function from tm module\n");
 		return -1;
 	}