From d99541bbbc2f734ca0075a01ef6ace4b6f5432dd Mon Sep 17 00:00:00 2001 From: SherkeyXD <253294679@qq.com> Date: Tue, 3 Oct 2023 01:26:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3tcp=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=83=A8=E5=88=86=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index 004693a027..659bc8ff4f 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -1274,7 +1274,7 @@ namespace MaaWpfGui.Main // normal -> [host]:[port] string[] addresses = address.Split(':'); - if (address.Length != 2) + if (addresses.Length != 2) { return false; }