From 4cec3571f7c7377bbffb6407833d13cb8b24b9ec Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Tue, 16 Apr 2024 16:32:57 +0800 Subject: [PATCH] fix;.. --- features/mml/mml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/mml/mml.go b/features/mml/mml.go index 84137180..1df4fcae 100644 --- a/features/mml/mml.go +++ b/features/mml/mml.go @@ -120,7 +120,7 @@ func PostMML2ToNF(w http.ResponseWriter, r *http.Request) { // } // 发送窗口大小设置命令 conn.Write([]byte{255, 251, 31}) // 发送WILL WINDOW SIZE - conn.Write([]byte{255, 250, 31, 0, WIN_ROW_SIZE, 0, WIN_COL_SIZE, 255, 240}) // 发送SB WINDOW SIZE + conn.Write([]byte{255, 250, 31, 0, WIN_ROW_SIZE, 0, WIN_COL_SIZE, 255, 240}) // 发送设置 WINDOW SIZE conn.SetDeadline(time.Now().Add(TIME_DEAD_LINE * time.Second)) loginStr := fmt.Sprintf("%s\n%s\n", config.GetYamlConfig().MML.User, config.GetYamlConfig().MML.Password)