From 729a5c8f4fb8c841497d26170e1a47c41617ecd9 Mon Sep 17 00:00:00 2001 From: наб Date: Thu, 23 Jan 2025 20:50:39 +0100 Subject: string{=> _view} flNotDir(string{=> _view}). Configuration::{Cnd,}Set(Value: string{=> _view}) --- methods/http.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'methods/http.cc') diff --git a/methods/http.cc b/methods/http.cc index f2514eb9d..a6d7511fd 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1045,7 +1045,7 @@ int main(int, const char *argv[]) // ignore SIGPIPE, this can happen on write() if the socket // closes the connection (this is dealt with via ServerDie()) signal(SIGPIPE, SIG_IGN); - std::string Binary = flNotDir(argv[0]); + std::string Binary{flNotDir(argv[0])}; if (Binary.find('+') == std::string::npos && Binary != "https" && Binary != "http") Binary.append("+http"); return HttpMethod(std::move(Binary)).Loop(); -- cgit v1.2.3-70-g09d2