2010-02-23 11:37:46 +00:00
|
|
|
diff -up cups-1.4.2/cups/http-addr.c.EAI_AGAIN cups-1.4.2/cups/http-addr.c
|
|
|
|
--- cups-1.4.2/cups/http-addr.c.EAI_AGAIN 2010-02-23 10:39:35.038261623 +0000
|
|
|
|
+++ cups-1.4.2/cups/http-addr.c 2010-02-23 10:41:14.684385991 +0000
|
|
|
|
@@ -253,7 +253,7 @@ httpAddrLookup(
|
|
|
|
|
|
|
|
if (error)
|
|
|
|
{
|
|
|
|
- if (error == EAI_FAIL)
|
2010-03-31 16:08:46 +00:00
|
|
|
+ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA)
|
2010-02-23 11:37:46 +00:00
|
|
|
cg->need_res_init = 1;
|
|
|
|
|
|
|
|
return (httpAddrString(addr, name, namelen));
|