From 59f9908c61b02d383382e315cb4de6da8a0df3d5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 18 May 2019 11:14:39 +0800 Subject: [PATCH] 1 --- server/wsproxy/target_conn_mgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/wsproxy/target_conn_mgr.cc b/server/wsproxy/target_conn_mgr.cc index 2df7128..ba1d743 100644 --- a/server/wsproxy/target_conn_mgr.cc +++ b/server/wsproxy/target_conn_mgr.cc @@ -17,7 +17,7 @@ void TargetConnMgr::Init() { TargetConn* conn = new TargetConn(); conn->Init(instance_id, remote_ip, remote_port); - target_conn_hash_[conn->instance_id] = conn; + id_hash_[conn->instance_id] = conn; conn->Open(); } }