]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect variable in Url::ParsePort
authorGunnar Beutner <gunnar@beutner.name>
Tue, 29 Sep 2015 06:28:30 +0000 (08:28 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 29 Sep 2015 06:28:30 +0000 (08:28 +0200)
refs #10224

lib/remote/url.cpp

index aca7092f588076237b361f6a525756447ee24b61..4a7c07015deb6660f5c9a212285023a63ae8bd8a 100644 (file)
@@ -313,7 +313,7 @@ bool Url::ParseUserinfo(const String& userinfo)
 
 bool Url::ParsePort(const String& port)
 {
-       m_Port = Utility::UnescapeString(m_Port);
+       m_Port = Utility::UnescapeString(port);
        if (!ValidateToken(m_Port, ACPORT))
                return false;
        return true;