From: Jens Steube Date: Tue, 19 Apr 2016 11:04:33 +0000 (+0200) Subject: Fix for https://github.com/hashcat/oclHashcat/issues/302 X-Git-Tag: v3.00-beta~87 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=6fcf58e1067022da7c2a1e24207950229f283f3e;p=hashcat.git Fix for https://github.com/hashcat/oclHashcat/issues/302 --- diff --git a/src/shared.c b/src/shared.c index 13ca3eb..ce49687 100644 --- a/src/shared.c +++ b/src/shared.c @@ -19871,9 +19871,10 @@ void *thread_keypress (void *p) if (ch == 0) continue; - #ifdef _POSIX - if (ch != '\n') - #endif + //https://github.com/hashcat/oclHashcat/issues/302 + //#ifdef _POSIX + //if (ch != '\n') + //#endif hc_thread_mutex_lock (mux_display); @@ -19965,6 +19966,11 @@ void *thread_keypress (void *p) break; } + //https://github.com/hashcat/oclHashcat/issues/302 + //#ifdef _POSIX + //if (ch != '\n') + //#endif + hc_thread_mutex_unlock (mux_display); }