[Forensics-changes] [yara] 27/192: Minor style changes
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:31:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.6.0
in repository yara.
commit 58db66bee4af16b31e2d2ca8daefc4e90e3e6ead
Author: plusvic <plusvic at gmail.com>
Date: Thu Sep 8 19:25:02 2016 +0200
Minor style changes
---
libyara/rules.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/libyara/rules.c b/libyara/rules.c
index f7a3691..d0b23d8 100644
--- a/libyara/rules.c
+++ b/libyara/rules.c
@@ -358,11 +358,10 @@ YR_API int yr_rules_scan_mem_blocks(
tidx++;
}
- if (tidx < MAX_THREADS) {
+ if (tidx < MAX_THREADS)
YR_BITARRAY_SET(rules->tidx_mask, tidx);
- } else {
+ else
result = ERROR_TOO_MANY_SCAN_THREADS;
- }
yr_mutex_unlock(&rules->mutex);
@@ -662,7 +661,7 @@ YR_API int yr_rules_scan_proc(
pid,
&iterator);
- if (result == ERROR_SUCCESS)
+ if (result == ERROR_SUCCESS)
{
result = yr_rules_scan_mem_blocks(
rules,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list