]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - cups/patches/cups-EAI_AGAIN.patch
collecty: New package.
[people/amarx/ipfire-3.x.git] / cups / patches / cups-EAI_AGAIN.patch
CommitLineData
f92713d3
SS
1diff -up cups-1.4.2/cups/http-addr.c.EAI_AGAIN cups-1.4.2/cups/http-addr.c
2--- cups-1.4.2/cups/http-addr.c.EAI_AGAIN 2010-02-23 10:39:35.038261623 +0000
3+++ cups-1.4.2/cups/http-addr.c 2010-02-23 10:41:14.684385991 +0000
4@@ -253,7 +253,7 @@ httpAddrLookup(
5
6 if (error)
7 {
8- if (error == EAI_FAIL)
9+ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA)
10 cg->need_res_init = 1;
11
12 return (httpAddrString(addr, name, namelen));