]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/cups/patches/cups-EAI_AGAIN.patch
033e7f8446b6ecbf28f6980529617c24b3b850cc
[people/amarx/ipfire-3.x.git] / pkgs / cups / patches / cups-EAI_AGAIN.patch
1 diff -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));