mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Clean end-of-line output usage (not actually POSIX)
This commit is contained in:
parent
78a819417b
commit
fce2363fec
@ -6,6 +6,12 @@
|
||||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
#ifdef _WIN
|
||||
#define EOL "\r\n"
|
||||
#else
|
||||
#define EOL "\n"
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint salt_buf[16];
|
||||
|
@ -907,15 +907,7 @@ void status_display_machine_readable ()
|
||||
* flush
|
||||
*/
|
||||
|
||||
#ifdef _WIN
|
||||
fputc ('\r', out);
|
||||
fputc ('\n', out);
|
||||
#endif
|
||||
|
||||
#ifdef _POSIX
|
||||
fputc ('\n', out);
|
||||
#endif
|
||||
|
||||
fputs (EOL, out);
|
||||
fflush (out);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user