Merge pull request #1 from sh4dak/master

Fixed Values
This commit is contained in:
Михаил Подивилов 2019-05-11 22:27:15 +03:00 committed by GitHub
commit 1548fedb82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 28 deletions

View file

@ -338,7 +338,7 @@ namespace proxy {
}
}
}
/* check dest_host really exists and inside DOTNET network */
/* check dest_host really exists and inside .NET network */
if (str_rmatch(dest_host, ".dotnet")) {
if (!dotnet::client::context.GetAddressBook ().GetAddress (dest_host)) {
HostNotFound(dest_host);
@ -353,7 +353,7 @@ namespace proxy {
GenericProxyError("Outproxy failure", "bad outproxy settings");
} else {
LogPrint (eLogWarning, "HTTPProxy: outproxy failure for ", dest_host, ": no outproxy enabled");
std::string message = "Host " + dest_host + " not inside DOTNET network, but outproxy is not enabled";
std::string message = "Host " + dest_host + " not inside .NET network, but outproxy is not enabled";
GenericProxyError("Outproxy failure", message.c_str());
}
return true;