Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > b19eb05f37904f097417e01a8a95a9aa > files > 8

cups-1.5.4-1.mga2.src.rpm

Author: till.kamppeter@gmail.com

--- a/scheduler/client.c
+++ b/scheduler/client.c
@@ -387,7 +387,7 @@
   {
     if (httpAddrLocalhost(&temp))
       strlcpy(con->servername, "localhost", sizeof(con->servername));
-    else if (HostNameLookups || RemotePort)
+    else if (HostNameLookups)
       httpAddrLookup(&temp, con->servername, sizeof(con->servername));
     else
       httpAddrString(&temp, con->servername, sizeof(con->servername));
--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -755,7 +755,7 @@
     cupsdAddAlias(ServerAlias, temp);
     cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", temp);
 
-    if (HostNameLookups || RemotePort)
+    if (HostNameLookups)
     {
       struct hostent	*host;		/* Host entry to get FQDN */