Fix for https://github.com/hashcat/oclHashcat/issues/302
authorJens Steube <jens.steube@gmail.com>
Tue, 19 Apr 2016 11:04:33 +0000 (13:04 +0200)
committerJens Steube <jens.steube@gmail.com>
Tue, 19 Apr 2016 11:04:33 +0000 (13:04 +0200)
src/shared.c

index 13ca3eb..ce49687 100644 (file)
@@ -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);
   }