static int hexMode = HEXMODE;
-static const char trbcmd_version[] = "$Revision: 2.26 $";
+static const char trbcmd_version[] = "$Revision: 2.27 $";
/* ------ MAIN ---------------------------------------------------------- */
exit(EXIT_FAILURE);
}
- type = strtoul(cmd[2], NULL, hexMode == 1 ? 16 : 0) & 0x0f;
- random = strtoul(cmd[3], NULL, hexMode == 1 ? 16 : 0);
- info = strtoul(cmd[4], NULL, hexMode == 1 ? 16 : 0);
- number = strtoul(cmd[5], NULL, hexMode == 1 ? 16 : 0);
+ type = strtoul(cmd[1], NULL, hexMode == 1 ? 16 : 0) & 0x0f;
+ random = strtoul(cmd[2], NULL, hexMode == 1 ? 16 : 0);
+ info = strtoul(cmd[3], NULL, hexMode == 1 ? 16 : 0);
+ number = strtoul(cmd[4], NULL, hexMode == 1 ? 16 : 0);
/* DEBUG Info */
if (trb_debug > 0) {