]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/internal.cc
Polish: update Ip::Address to follow Squid coding guidelines
[thirdparty/squid.git] / src / internal.cc
index a151ddac318fa6a2de03bfe664f9a7e263764db4..15d388877dfc6a5a51ac08522f19c82416633fed 100644 (file)
@@ -108,8 +108,8 @@ internalRemoteUri(const char *host, unsigned short port, const char *dir, const
 
     /* check for an IP address and format appropriately if found */
     Ip::Address test = lc_host;
-    if ( !test.IsAnyAddr() ) {
-        test.ToHostname(lc_host,SQUIDHOSTNAMELEN);
+    if ( !test.isAnyAddr() ) {
+        test.toHostStr(lc_host,SQUIDHOSTNAMELEN);
     }
 
     /*