This commit is contained in:
iceman1001 committed 2021-02-17 08:59:20 +01:00
1 parent 0a405ca21e
commit b3064c4888
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -3560,14 +3560,14 @@ static int CmdHF14MfuNDEF(const char *Cmd) {
DropField();
status = NDEFRecordsDecodeAndPrint(records, (size_t)maxsize);
if ( status != PM3_SUCCESS) {
if (status != PM3_SUCCESS) {
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) {
jooki += 17;
while(jooki) {
while (jooki) {
if ((*jooki) != '=')
jooki++;
else {
+1 -1
View File
@@ -90,7 +90,7 @@ DumpFileType_t getfiletype(const char *filename) {
}
size_t len = strlen(filename);
if (len > 4) {
if (len > 4) {
// check if valid file extension and attempt to load data
char s[FILE_PATH_SIZE];
memset(s, 0, sizeof(s));
+1 -1
View File
@@ -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
* @param filename
* @return
* @return
*/
DumpFileType_t getfiletype(const char *filename);
#endif // FILEUTILS_H