mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-12 09:38:11 +00:00
fix newline handling on windows
This commit is contained in:
parent
757dc088ff
commit
9f59f7766e
@ -58,7 +58,7 @@ static void main_log (hashcat_ctx_t *hashcat_ctx, FILE *fp)
|
|||||||
|
|
||||||
if (msg_newline == true)
|
if (msg_newline == true)
|
||||||
{
|
{
|
||||||
fwrite (EOL, sizeof (EOL), 1, fp);
|
fwrite (EOL, strlen (EOL), 1, fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
fflush (fp);
|
fflush (fp);
|
||||||
|
Loading…
Reference in New Issue
Block a user