From 1097d4fc5baf6f3deaf6725a98f03d7e059028fe Mon Sep 17 00:00:00 2001 From: Gang Zhuo Date: Fri, 20 Nov 2015 22:49:42 +0800 Subject: [PATCH] remove space by trim() --- shadowsocks-csharp/View/ConfigForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index 7f8cec7..0135f48 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -79,7 +79,7 @@ namespace Shadowsocks.View } Server server = new Server { - server = IPTextBox.Text, + server = IPTextBox.Text.Trim(), server_port = int.Parse(ServerPortTextBox.Text), password = PasswordTextBox.Text, method = EncryptionSelect.Text,