commit | 42907f22800a02096c330a4f7257aca3329f9473 | [log] [tgz] |
---|---|---|
author | Linus Walleij <triad@df.lth.se> | Tue Nov 07 16:00:39 2006 +0000 |
committer | Linus Walleij <triad@df.lth.se> | Tue Nov 07 16:00:39 2006 +0000 |
tree | 4fa02d7f9971424e8def9c38a9400a1e0653b6d8 | |
parent | 64fa399cc740971a09e8554f9ea4f5a49414d5f3 [diff] [blame] |
Fixed the debug code.
diff --git a/src/libusb-glue.c b/src/libusb-glue.c index 23937b6..0f9d9c5 100644 --- a/src/libusb-glue.c +++ b/src/libusb-glue.c
@@ -390,7 +390,7 @@ return PTP_ERROR_IO; #ifdef ENABLE_USB_BULK_DEBUG printf("<==USB IN\n"); - data_dump_ascii (stdout,(bytes+curread),toread,16); + data_dump_ascii (stdout,(bytes+curread),result,16); #endif curread += result; if (result < toread) /* short reads are common */