[Forensics-changes] [yara] 91/160: Minor style changes

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:29:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.4.0
in repository yara.

commit 5d5bb04ca686b030b6517700ba368e78d2c7edde
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Apr 27 13:53:55 2015 +0200

    Minor style changes
---
 yara.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/yara.c b/yara.c
index 9755d45..6786f25 100644
--- a/yara.c
+++ b/yara.c
@@ -644,8 +644,10 @@ void* scanning_thread(void* param)
   char* file_path = file_queue_get();
 
   int flags = 0;
+
   if (fast_scan)
     flags |= SCAN_FLAGS_FAST_MODE;
+
   if (show_module_info)
     flags |= SCAN_FLAGS_SHOW_MODULE_INFO;
 
@@ -691,7 +693,7 @@ int is_integer(
 {
   if (*str == '-')
     str++;
-  
+
   while(*str)
   {
     if (!isdigit(*str))
@@ -993,10 +995,11 @@ int main(
   if (is_integer(argv[1]))
   {
     int pid = atoi(argv[1]);
-
     int flags = 0;
+
     if (fast_scan)
       flags |= SCAN_FLAGS_FAST_MODE;
+
     if (show_module_info)
       flags |= SCAN_FLAGS_SHOW_MODULE_INFO;
 
@@ -1057,8 +1060,10 @@ int main(
   else
   {
     int flags = 0;
+
     if (fast_scan)
       flags |= SCAN_FLAGS_FAST_MODE;
+
     if (show_module_info)
       flags |= SCAN_FLAGS_SHOW_MODULE_INFO;
 

-- 
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