cups: Fix endless loop

Fix endless loop in ipp backend (http://www.cups.org/str.php?L4194)

Signed-off-by: Bernd Krumböck <krumboeck@universalnet.at>
Patchwork: http://patchwork.openwrt.org/patch/3070/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34931 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-12-29 18:00:01 +00:00
parent c96b4c24a8
commit c8a0ce17bb

View File

@ -0,0 +1,11 @@
--- cups-1.5.4/backend/ipp.c (revision 10619)
+++ cups-1.5.4/backend/ipp.c (working copy)
@@ -952,6 +952,8 @@
_cupsLangPrintFilter(stderr, "ERROR",
_("Unable to get printer status."));
sleep(10);
+
+ httpReconnect(http);
}
ippDelete(supported);