From 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 31 Jul 2019 16:59:49 +0200 Subject: New upstream version 1.0.28 --- backend/pieusb_usb.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'backend/pieusb_usb.c') diff --git a/backend/pieusb_usb.c b/backend/pieusb_usb.c index 71b6bcf..31008fa 100644 --- a/backend/pieusb_usb.c +++ b/backend/pieusb_usb.c @@ -176,11 +176,13 @@ _hexdump(char *msg, unsigned char *ptr, int size) clipped = size; size = 128; } - while (size-- > 0) - { - if ((count % 16) == 0) - fprintf (stderr, "%s\t%08lx:", msg?msg:"", start); - msg = NULL; + while (size-- > 0) + { + if ((count % 16) == 0) + { + fprintf (stderr, "%s\t%08lx:", msg?msg:"", start); + msg = NULL; + } fprintf (stderr, " %02x", *ptr++); count++; start++; @@ -207,7 +209,7 @@ _hexdump(char *msg, unsigned char *ptr, int size) if ((count % 16) != 0) fprintf (stderr, "\n"); if (clipped > 0) - fprintf (stderr, "\t%08lx bytes clipped\n", clipped); + fprintf (stderr, "\t%08lx bytes clipped\n", clipped); fflush(stderr); return; -- cgit v1.2.3