Group :: System/Libraries
RPM: libgnomecups
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: libgnomecups-0.2.3-fix-str-fmt.patch
Download
Download
--- libgnomecups/gnome-cups-request.c.str 2009-04-07 05:01:48.000000000 +0200
+++ libgnomecups/gnome-cups-request.c 2009-04-07 05:02:13.000000000 +0200
@@ -355,7 +355,7 @@
g_warning ("IPP request failed with status %d", status);
if (request->error != NULL)
*(request->error) = g_error_new (GNOME_CUPS_ERROR,
- status, ippErrorString (status));
+ status, "%s", ippErrorString (status));
} else if (request->response && _gnome_cups_debug) {
g_print ("response = \n");
dump_request (request->response);
@@ -366,7 +366,7 @@
request->response = NULL;
if (HTTP_OK != status && request->error != NULL)
*(request->error) = g_error_new (GNOME_CUPS_ERROR,
- status, httpStatus (status));
+ status, "%s", httpStatus (status));
} else {
g_warning ("Neither request nor output_fd set");
if (request->error != NULL)