Browse Source

t_request->t_request_dlg in unixsock

Jan Janak 21 years ago
parent
commit
2220c07f7f
1 changed files with 4 additions and 4 deletions
  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;
 	}