From 230d2ff6ff1fd4051e86b5c22ad1d83ed4b69e98 Mon Sep 17 00:00:00 2001 From: Waken Date: Thu, 18 Jan 2024 10:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=9A=84=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 4b18a276..14b654c3 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -1219,7 +1219,7 @@ void installWebApi() { // 兼容老版本请求,新版本去除enable_tcp参数并新增tcp_mode参数 tcp_mode = 1; } - auto local_ip = "::"; + std::string local_ip = "::"; if (!allArgs["local_ip"].empty()) { local_ip = allArgs["local_ip"]; }