fix newline handling on windows

This commit is contained in:
jsteube
2016-10-13 19:31:08 +02:00
parent 757dc088ff
commit 9f59f7766e

View File

@@ -58,7 +58,7 @@ static void main_log (hashcat_ctx_t *hashcat_ctx, FILE *fp)
if (msg_newline == true)
{
fwrite (EOL, sizeof (EOL), 1, fp);
fwrite (EOL, strlen (EOL), 1, fp);
}
fflush (fp);