]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdcrc.c
Merge pull request #226 from pwpiwi/fix_defines
[proxmark3-svn] / client / cmdcrc.c
index 0536529890c1dc221a80057d073b79f4702807a6..fddf0ac4d53283253bab7a50554485f22a8f1e89 100644 (file)
@@ -44,9 +44,10 @@ int split(char *str, char *arr[MAX_ARGS]){
                while(isspace(str[beginIndex])){
                        ++beginIndex;
                }
-               if(str[beginIndex] == '\0')
+               if(str[beginIndex] == '\0') {
                        break;
-                       endIndex = beginIndex;
+               }
+               endIndex = beginIndex;
                while (str[endIndex] && !isspace(str[endIndex])){
                        ++endIndex;
                }
Impressum, Datenschutz