summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-11-05 16:43:52 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-11-05 16:43:52 -0500
commit504a90da0781480cbba95900d1f2e64a11159717 (patch)
tree81c14f6698a2c674a38f8db69dd7d7b06aef3cb8
parentcdb6ee709d57cb2678ef1eb0cc0e112606d770f0 (diff)
downloadselphy_print-504a90da0781480cbba95900d1f2e64a11159717.tar.gz
selphy_print-504a90da0781480cbba95900d1f2e64a11159717.tar.bz2
selphy_print-504a90da0781480cbba95900d1f2e64a11159717.zip
sonyupdneo: Log IEEE1284 string returned by printer.
-rw-r--r--backend_sonyupdneo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend_sonyupdneo.c b/backend_sonyupdneo.c
index 571a044..0b372fc 100644
--- a/backend_sonyupdneo.c
+++ b/backend_sonyupdneo.c
@@ -286,6 +286,11 @@ static int updneo_get_status(struct updneo_ctx *ctx)
if (!ieee_id)
return CUPS_BACKEND_FAILED;
+ /* Don't forget to log! */
+ if (dyesub_debug >= 1) {
+ DEBUG("IEEE1284: %s\n", buf);
+ }
+
dlen = parse1284_data(ieee_id, dict);
// XXXX do something: