Blob Blame History Raw
diff -up cups-1.3.9/cups/http-addrlist.c.str3023 cups-1.3.9/cups/http-addrlist.c
--- cups-1.3.9/cups/http-addrlist.c.str3023	2008-11-25 17:48:44.000000000 +0000
+++ cups-1.3.9/cups/http-addrlist.c	2008-11-25 17:50:24.000000000 +0000
@@ -345,7 +345,7 @@ httpAddrGetList(const char *hostname,	/*
 
       freeaddrinfo(results);
     }
-    else if (error == EAI_FAIL)
+    else if (error == EAI_FAIL || error == EAI_NONAME || error == EAI_AGAIN)
       cg->need_res_init = 1;
 
 #else