From: hadeshyp Date: Tue, 30 Mar 2010 16:50:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v6.0~285 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7f60ec1054420599fdc92b638a0832e4e4a62d6e;p=trbnettools.git *** empty log message *** --- diff --git a/libtrbnet/trbcmd.c b/libtrbnet/trbcmd.c index 8b66545..e480cdc 100644 --- a/libtrbnet/trbcmd.c +++ b/libtrbnet/trbcmd.c @@ -45,7 +45,7 @@ static FILE * STDERR; static int hexMode = HEXMODE; -static const char trbcmd_version[] = "$Revision: 2.42 $"; +static const char trbcmd_version[] = "$Revision: 2.43 $"; /* ---- User Buffer Size ----------------------------------------------- */ @@ -585,7 +585,7 @@ int start(int argc, char ** argv, char* command){ return (EXIT_FAILURE); } } else { - for (i = 0; (i < status) && (i < 128); i += 4) { + for (i = 0; (i < status) && (i < NUM_ENDPOINTS * 4); i += 4) { fprintf(STDOUT, "0x%04x 0x%08x%08x 0x%02x\n", uidBuffer[i + 3], uidBuffer[i],