浏览代码

t_request->t_request_dlg in unixsock

Jan Janak 21 年之前
父节点
当前提交
2220c07f7f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      modules/tm/tm.c

+ 4 - 4
modules/tm/tm.c

@@ -488,8 +488,8 @@ static int mod_init(void)
 		return -1;
 	}
 
-	if (unixsock_register_cmd("t_hash", unixsock_hash) < 0) {
-		LOG(L_CRIT, "cannot register t_hash with the unix server\n");
+	if (unixsock_register_cmd("t_uac_dlg", unixsock_uac) < 0) {
+		LOG(L_CRIT, "cannot register t_uac with the unix server\n");
 		return -1;
 	}
 
@@ -498,8 +498,8 @@ static int mod_init(void)
 		return -1;
 	}
 
-	if (unixsock_register_cmd("t_uac", unixsock_uac) < 0) {
-		LOG(L_CRIT, "cannot register t_uac with the unix server\n");
+	if (unixsock_register_cmd("t_hash", unixsock_hash) < 0) {
+		LOG(L_CRIT, "cannot register t_hash with the unix server\n");
 		return -1;
 	}