mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
move trailing space stripping to client/proxmark3.c (per discussion on r426)
This commit is contained in:
parent
fcdfc43e1f
commit
9cb00f305c
3 changed files with 4 additions and 4 deletions
|
@ -65,6 +65,8 @@ static void *main_loop(void *targ)
|
|||
cmd = readline(PROXPROMPT);
|
||||
if (cmd) {
|
||||
if (cmd[0] != 0x00) {
|
||||
while(cmd[strlen(cmd) - 1] == ' ')
|
||||
cmd[strlen(cmd) - 1]= 0x00;
|
||||
CommandReceived(cmd);
|
||||
add_history(cmd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue