Reduce use of mux_display to a minimum
[hashcat.git] / OpenCL / check_single_comp4.c
index 0478658..631a8bc 100644 (file)
@@ -5,10 +5,8 @@ if ((r0 == search[0])
 {
   const u32 final_hash_pos = digests_offset + 0;
 
-  if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
+  if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
   {
-    mark_hash (plains_buf, hashes_shown, final_hash_pos, gid, il_pos);
-
-    d_return_buf[lid] = 1;
+    mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos);
   }
 }