Blame SOURCES/cups-etimedout.patch

c25abc
diff --git a/cups/http-addrlist.c b/cups/http-addrlist.c
c25abc
index e4ffc3d..a989055 100644
c25abc
--- a/cups/http-addrlist.c
c25abc
+++ b/cups/http-addrlist.c
c25abc
@@ -240,7 +240,10 @@ httpAddrConnect2(
c25abc
     }
c25abc
 
c25abc
     if (!addrlist && nfds == 0)
c25abc
+    {
c25abc
+      errno = EHOSTDOWN;
c25abc
       break;
c25abc
+    }
c25abc
 
c25abc
    /*
c25abc
     * See if we can connect to any of the addresses so far...
c25abc
@@ -371,6 +374,9 @@ httpAddrConnect2(
c25abc
       remaining -= 250;
c25abc
   }
c25abc
 
c25abc
+  if (remaining <= 0)
c25abc
+    errno = ETIMEDOUT;
c25abc
+
c25abc
   while (nfds > 0)
c25abc
   {
c25abc
     nfds --;