From ef80e3f0748c8ea2f8bc9476aaf95335eed061fd Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 14 Oct 2016 20:18:45 +0200 Subject: [PATCH] Some newline fixes --- src/main.c | 4 +++- src/opencl.c | 8 +++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index eaeef94de..3488d3f51 100644 --- a/src/main.c +++ b/src/main.c @@ -180,7 +180,9 @@ static void main_cracker_starting (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB { if ((user_options->quiet == false) && (user_options->status == false) && (user_options->benchmark == false)) { - send_prompt (); + event_log_info_nn (hashcat_ctx, ""); + + send_prompt (); } } else if (user_options_extra->wordlist_mode == WL_MODE_STDIN) diff --git a/src/opencl.c b/src/opencl.c index 434f258e2..fca84fe5e 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -3507,7 +3507,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx) { if (cached == 0) { - if (user_options->quiet == false) event_log_info (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); + if (user_options->quiet == false) event_log_info_nn (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); const int rc_read_kernel = read_kernel_binary (hashcat_ctx, source_file, 1, kernel_lengths, kernel_sources); @@ -3709,8 +3709,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx) if (cached == 0) { - if (user_options->quiet == false) event_log_info (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); - if (user_options->quiet == false) event_log_info (hashcat_ctx, ""); + if (user_options->quiet == false) event_log_info_nn (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); const int rc_read_kernel = read_kernel_binary (hashcat_ctx, source_file, 1, kernel_lengths, kernel_sources); @@ -3850,8 +3849,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx) if (cached == 0) { - if (user_options->quiet == false) event_log_info (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); - if (user_options->quiet == false) event_log_info (hashcat_ctx, ""); + if (user_options->quiet == false) event_log_info_nn (hashcat_ctx, "- Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, filename_from_filepath (cached_file)); const int rc_read_kernel = read_kernel_binary (hashcat_ctx, source_file, 1, kernel_lengths, kernel_sources);