mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: \r didn't work well with printandlogex
chg: spaces chg: cleaning
This commit is contained in:
parent
c41013d394
commit
271cb3e1cc
8 changed files with 18 additions and 19 deletions
|
@ -128,7 +128,7 @@ void PrintAndLog(char *fmt, ...) {
|
|||
logfile = fopen(logfilename, "a");
|
||||
if (!logfile) {
|
||||
fprintf(stderr, "Can't open logfile, logging disabled!\n");
|
||||
logging=0;
|
||||
logging = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -169,7 +169,7 @@ void PrintAndLog(char *fmt, ...) {
|
|||
|
||||
if (logging && logfile) {
|
||||
vfprintf(logfile, fmt, argptr2);
|
||||
fprintf(logfile,"\n");
|
||||
fprintf(logfile, "\n");
|
||||
fflush(logfile);
|
||||
}
|
||||
va_end(argptr2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue