1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-24 00:51:05 +00:00

Merge pull request #621 from matrix/build_log_size

Request build log only if size > 1 (v2)
This commit is contained in:
Jens Steube 2016-11-28 11:35:34 +01:00 committed by GitHub
commit 0b374d9bde

View File

@ -3761,7 +3761,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
//if (CL_rc == -1) return -1;
#if defined (DEBUG)
if ((build_log_size != 0) || (CL_rc == -1))
if ((build_log_size > 1) || (CL_rc == -1))
#else
if (CL_rc == -1)
#endif
@ -3863,7 +3863,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
//if (CL_rc == -1) return -1;
#if defined (DEBUG)
if ((build_log_size != 0) || (CL_rc == -1))
if ((build_log_size > 1) || (CL_rc == -1))
#else
if (CL_rc == -1)
#endif
@ -3967,7 +3967,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
//if (CL_rc == -1) return -1;
#if defined (DEBUG)
if ((build_log_size != 0) || (CL_rc == -1))
if ((build_log_size > 1) || (CL_rc == -1))
#else
if (CL_rc == -1)
#endif
@ -4109,7 +4109,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
//if (CL_rc == -1) return -1;
#if defined (DEBUG)
if ((build_log_size != 0) || (CL_rc == -1))
if ((build_log_size > 1) || (CL_rc == -1))
#else
if (CL_rc == -1)
#endif