X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/50193c1e3eb7f904bdc4be84618b1b045539597b..e6b8c965bb27650b3ead5738ba46dd4c82f937de:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index c27d8406..ff58e0a4 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -63,7 +63,7 @@ UsbCommand * WaitForResponseTimeout(uint32_t response_type, uint32_t ms_timeout) msleep(10); // XXX ugh } - // There was evil BUG + // There was an evil BUG memcpy(¤t_response_user, ¤t_response, sizeof(UsbCommand)); ret = ¤t_response_user; @@ -105,12 +105,12 @@ void UsbCommandReceived(UsbCommand *UC) } memcpy(s, UC->d.asBytes, UC->arg[0]); s[UC->arg[0]] = '\0'; - PrintAndLog("#db# %s", s); + PrintAndLog("#db# %s ", s); return; } case CMD_DEBUG_PRINT_INTEGERS: - PrintAndLog("#db# %08x, %08x, %08x\r\n", UC->arg[0], UC->arg[1], UC->arg[2]); + PrintAndLog("#db# %08x, %08x, %08x \r\n", UC->arg[0], UC->arg[1], UC->arg[2]); return; case CMD_MEASURED_ANTENNA_TUNING: { @@ -158,7 +158,7 @@ void UsbCommandReceived(UsbCommand *UC) unexpected_response: if(UC->cmd != CMD_ACK) - PrintAndLog("unrecognized command %08x\n", UC->cmd); + PrintAndLog("unrecognized command %08x \n", UC->cmd); else memcpy(¤t_response, UC, sizeof(UsbCommand)); received_command = UC->cmd;