summaryrefslogtreecommitdiffstats
path: root/print/libgnomecups/files/patch-22_ignore-ipp-not-found
diff options
context:
space:
mode:
Diffstat (limited to 'print/libgnomecups/files/patch-22_ignore-ipp-not-found')
-rw-r--r--print/libgnomecups/files/patch-22_ignore-ipp-not-found12
1 files changed, 12 insertions, 0 deletions
diff --git a/print/libgnomecups/files/patch-22_ignore-ipp-not-found b/print/libgnomecups/files/patch-22_ignore-ipp-not-found
new file mode 100644
index 000000000..8bd4424b3
--- /dev/null
+++ b/print/libgnomecups/files/patch-22_ignore-ipp-not-found
@@ -0,0 +1,12 @@
+diff -pruN 0.2.2-1/libgnomecups/gnome-cups-request.c 0.2.2-1ubuntu5/libgnomecups/gnome-cups-request.c
+--- 0.2.2-1/libgnomecups/gnome-cups-request.c 2005-03-28 16:43:06.000000000 +0100
++++ libgnomecups/gnome-cups-request.c 2006-06-27 16:21:38.000000000 +0100
+@@ -349,7 +349,7 @@ request_thread_main (GnomeCupsRequest *r
+ if (request->response == NULL)
+ status = IPP_INTERNAL_ERROR;
+
+- if (status > IPP_OK_CONFLICT) {
++ if (status > IPP_OK_CONFLICT && status != IPP_NOT_FOUND) {
+ g_warning ("IPP request failed with status %d", status);
+ if (request->error != NULL)
+ *(request->error) = g_error_new (GNOME_CUPS_ERROR,