summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@novell.com>2008-11-20 22:30:26 +0100
committerVincent Untz <vuntz@novell.com>2008-11-20 22:30:26 +0100
commitb4d43606c097be18c54b504346f8eb475757de9a (patch)
tree74a443303b09f483808a86fae68c0c7da964a9ff
parented9ae5b677b55baaed859d3607f044c6089cbcc3 (diff)
Add some commented out code useful for debugging.
-rw-r--r--src/cups.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cups.c b/src/cups.c
index 640318f..cb2d592 100644
--- a/src/cups.c
+++ b/src/cups.c
@@ -406,6 +406,10 @@ _cph_cups_handle_reply (CphCups *cups,
if (!reply || reply->request.status.status_code > IPP_OK_CONFLICT) {
retval = FALSE;
_cph_cups_set_error_from_reply (cups, reply);
+#if 0
+ /* Useful when debugging: */
+ g_print ("%s\n", cupsLastErrorString ());
+#endif
} else {
retval = TRUE;
cups->priv->last_status = IPP_OK;