mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 17:18:10 +08:00
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
This commit is contained in:
commit
fa2d9a77b9
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static void fPrintAndLog(FILE *stream, const char *fmt, ...) {
|
|||
va_start(argptr, fmt);
|
||||
vsnprintf(buffer, sizeof(buffer), fmt, argptr);
|
||||
va_end(argptr);
|
||||
if (buffer[strlen(buffer) - 1] == NOLF[0]) {
|
||||
if (strlen(buffer) > 0 && buffer[strlen(buffer) - 1] == NOLF[0]) {
|
||||
linefeed = false;
|
||||
buffer[strlen(buffer) - 1] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue