]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Tue, 30 Mar 2010 16:50:19 +0000 (16:50 +0000)
committerhadeshyp <hadeshyp>
Tue, 30 Mar 2010 16:50:19 +0000 (16:50 +0000)
libtrbnet/trbcmd.c

index 8b66545c290e537b09f78d5c3c809fbe0212b82b..e480cdca3f11a7d68a9c3e1fa038853abbc5156c 100644 (file)
@@ -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],