1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00
jsteube 2016-10-26 13:21:10 +02:00
parent 636d953996
commit 6582a8ae21

View File

@ -419,9 +419,10 @@ int outfile_write (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const unsign
tmp_buf[tmp_len] = 0; tmp_buf[tmp_len] = 0;
if (outfile_ctx->fp) if (outfile_ctx->fp != NULL)
{ {
fwrite (EOL, strlen (EOL), 1, outfile_ctx->fp); fwrite (tmp_buf, tmp_len, 1, outfile_ctx->fp);
fwrite (EOL, strlen (EOL), 1, outfile_ctx->fp);
} }
return tmp_len; return tmp_len;