Silence warnings, check length

This commit is contained in:
Alex Hultman
2020-06-06 20:26:59 +02:00
parent b17aad916f
commit 0d9cb39db6
4 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -167,10 +167,10 @@ private:
}
public:
/* If we have proxy support */
/* If we have proxy support; returns the proxed source address as reported by the proxy. */
#ifdef WITH_PROXY
std::string_view getProxiedRemoteAddress() {
return getHttpResponseData()->proxyParser.getSourceIp();
return getHttpResponseData()->proxyParser.getSourceAddress();
}
std::string_view getProxiedRemoteAddressAsText() {