diff options
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r-- | x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c index db213c989555..612f57b60af0 100644 --- a/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c +++ b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c @@ -1,5 +1,5 @@ ---- modules/printbackends/cups/gtkcupsutils.c.orig 2007-09-30 18:40:09.000000000 -0400 -+++ modules/printbackends/cups/gtkcupsutils.c 2007-09-30 18:40:45.000000000 -0400 +--- modules/printbackends/cups/gtkcupsutils.c.orig 2007-07-16 15:45:18.000000000 -0400 ++++ modules/printbackends/cups/gtkcupsutils.c 2007-10-01 14:27:17.000000000 -0400 @@ -627,9 +627,7 @@ _post_send (GtkCupsRequest *request) httpClearFields(request->http); httpSetField(request->http, HTTP_FIELD_CONTENT_LENGTH, length); @@ -11,3 +11,14 @@ if (httpPost(request->http, request->resource)) { +@@ -966,9 +964,7 @@ _get_send (GtkCupsRequest *request) + } + + httpClearFields(request->http); +-#ifdef HAVE_HTTP_AUTHSTRING +- httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, request->http->authstring); +-#endif ++ httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString (request->http)); + + if (httpGet(request->http, request->resource)) + { |