projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some previous work of splitting ultralight to its own c-file, ported Pentura_Pr...
[proxmark3-svn]
/
armsrc
/
util.c
diff --git
a/armsrc/util.c
b/armsrc/util.c
index a250e5293d5e3f46e0c755b82583cbb5071789cb..2d3aab9ca2a56703f4e50737e6f62eeb9cbe7ee9 100644
(file)
--- a/
armsrc/util.c
+++ b/
armsrc/util.c
@@
-227,27
+227,27
@@
void FormatVersionInformation(char *dst, int len, const char *prefix, void *vers
dst[0] = 0;
strncat(dst, prefix, len);
if(v->magic != VERSION_INFORMATION_MAGIC) {
dst[0] = 0;
strncat(dst, prefix, len);
if(v->magic != VERSION_INFORMATION_MAGIC) {
- strncat(dst, "Missing/Invalid version information", len);
+ strncat(dst, "Missing/Invalid version information", len
- strlen(dst) - 1
);
return;
}
if(v->versionversion != 1) {
return;
}
if(v->versionversion != 1) {
- strncat(dst, "Version information not understood", len);
+ strncat(dst, "Version information not understood", len
- strlen(dst) - 1
);
return;
}
if(!v->present) {
return;
}
if(!v->present) {
- strncat(dst, "Version information not available", len);
+ strncat(dst, "Version information not available", len
- strlen(dst) - 1
);
return;
}
return;
}
- strncat(dst, v->gitversion, len);
+ strncat(dst, v->gitversion, len
- strlen(dst) - 1
);
if(v->clean == 0) {
if(v->clean == 0) {
- strncat(dst, "-unclean", len);
+ strncat(dst, "-unclean", len
- strlen(dst) - 1
);
} else if(v->clean == 2) {
} else if(v->clean == 2) {
- strncat(dst, "-suspect", len);
+ strncat(dst, "-suspect", len
- strlen(dst) - 1
);
}
}
- strncat(dst, " ", len);
- strncat(dst, v->buildtime, len);
+ strncat(dst, " ", len
- strlen(dst) - 1
);
+ strncat(dst, v->buildtime, len
- strlen(dst) - 1
);
}
// -------------------------------------------------------------------------
}
// -------------------------------------------------------------------------
Impressum
,
Datenschutz