summaryrefslogtreecommitdiffstats
path: root/backend_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend_common.c')
-rw-r--r--backend_common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend_common.c b/backend_common.c
index 42a74b5..3b0d2ae 100644
--- a/backend_common.c
+++ b/backend_common.c
@@ -31,7 +31,7 @@
#include <errno.h>
#include <signal.h>
-#define BACKEND_VERSION "0.97"
+#define BACKEND_VERSION "0.98"
#ifndef URI_PREFIX
#error "Must Define URI_PREFIX"
#endif
@@ -152,6 +152,11 @@ char *get_device_id(struct libusb_device_handle *dev, int iface)
memmove(buf, buf + 2, length);
buf[length] = '\0';
+ /* Don't forget to log! */
+ if (dyesub_debug > 2) {
+ DEBUG("IEEE1284: %s\n", buf);
+ }
+
done:
return buf;
}