]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/core/cups/patches/cups-res_init.patch
22c75baa49c2846bbd1676e9098721fbed5231e9
[people/ms/ipfire-3.x.git] / pkgs / core / cups / patches / cups-res_init.patch
1 diff -up cups-1.4b2-svn8404/cups/http-addrlist.c.res_init cups-1.4b2-svn8404/cups/http-addrlist.c
2 --- cups-1.4b2-svn8404/cups/http-addrlist.c.res_init 2009-03-23 17:41:03.000000000 +0000
3 +++ cups-1.4b2-svn8404/cups/http-addrlist.c 2009-03-23 17:41:26.000000000 +0000
4 @@ -373,7 +373,7 @@ httpAddrGetList(const char *hostname, /*
5
6 freeaddrinfo(results);
7 }
8 - else if (error == EAI_FAIL)
9 + else if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA)
10 cg->need_res_init = 1;
11
12 #else