]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
1. fixed send manchester
[proxmark3-svn] / client / proxmark3.c
index b98afd9a5df7d0950a2740b675d20c5e3d703fdc..98b28c3cb981243f5256dfd1669b7c8d914f067c 100644 (file)
@@ -1,4 +1,5 @@
 //-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
 //
 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
@@ -63,6 +64,8 @@ static void *main_loop(void *targ)
   while(1) {
     cmd = readline(PROXPROMPT);
     if (cmd) {
+      while(cmd[strlen(cmd) - 1] == ' ')
+        cmd[strlen(cmd) - 1] = 0x00;
       if (cmd[0] != 0x00) {
         CommandReceived(cmd);
         add_history(cmd);
Impressum, Datenschutz