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>
SVN-Revision: 34931
--- /dev/null
+--- 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);