mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
style
This commit is contained in:
parent
0a405ca21e
commit
b3064c4888
3 changed files with 5 additions and 5 deletions
|
@ -3560,14 +3560,14 @@ static int CmdHF14MfuNDEF(const char *Cmd) {
|
||||||
|
|
||||||
DropField();
|
DropField();
|
||||||
status = NDEFRecordsDecodeAndPrint(records, (size_t)maxsize);
|
status = NDEFRecordsDecodeAndPrint(records, (size_t)maxsize);
|
||||||
if ( status != PM3_SUCCESS) {
|
if (status != PM3_SUCCESS) {
|
||||||
status = NDEFDecodeAndPrint(records, (size_t)maxsize, true);
|
status = NDEFDecodeAndPrint(records, (size_t)maxsize, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *jooki = strstr((char*)records, "s.jooki.rocks/s/?s=");
|
char *jooki = strstr((char *)records, "s.jooki.rocks/s/?s=");
|
||||||
if (jooki) {
|
if (jooki) {
|
||||||
jooki += 17;
|
jooki += 17;
|
||||||
while(jooki) {
|
while (jooki) {
|
||||||
if ((*jooki) != '=')
|
if ((*jooki) != '=')
|
||||||
jooki++;
|
jooki++;
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -90,7 +90,7 @@ DumpFileType_t getfiletype(const char *filename) {
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t len = strlen(filename);
|
size_t len = strlen(filename);
|
||||||
if (len > 4) {
|
if (len > 4) {
|
||||||
// check if valid file extension and attempt to load data
|
// check if valid file extension and attempt to load data
|
||||||
char s[FILE_PATH_SIZE];
|
char s[FILE_PATH_SIZE];
|
||||||
memset(s, 0, sizeof(s));
|
memset(s, 0, sizeof(s));
|
||||||
|
|
|
@ -276,7 +276,7 @@ int searchFile(char **foundpath, const char *pm3dir, const char *searchname, con
|
||||||
/**
|
/**
|
||||||
* @brief detects if file is of a supported filetype based on extension
|
* @brief detects if file is of a supported filetype based on extension
|
||||||
* @param filename
|
* @param filename
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
DumpFileType_t getfiletype(const char *filename);
|
DumpFileType_t getfiletype(const char *filename);
|
||||||
#endif // FILEUTILS_H
|
#endif // FILEUTILS_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue