mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Code cleanup:
- correctly use inttypes.h scanf and printf macros (PRIx64 et al) - fix indendation warnings
This commit is contained in:
parent
2d0717853d
commit
43534cbad2
14 changed files with 58 additions and 57 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue