[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: create_db.c (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/08/02 21:26:38

Modified files:
	create_db.c

Log message:
Description: Last change before 1.3. Just going slowly with windows.
Reviewed by: dcid
Bug:

Index: create_db.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/syscheckd/create_db.c,v
diff -u -r1.16 -r1.17
--- create_db.c	8 May 2007 00:13:42 -0000	1.16
+++ create_db.c	3 Aug 2007 00:26:37 -0000	1.17
@@ -153,7 +153,11 @@
             if(check_file(file_name))
             {
                 /* Sleeping in here too */
+                #ifndef WIN32
                 if(__counter >= (3 * syscheck.sleep_after))
+                #else
+                if(__counter >= (syscheck.sleep_after))
+                #endif
                 {
                     sleep(syscheck.tsleep);
                     __counter = 0;
@@ -228,8 +232,13 @@
             notify_agent(alert_msg, 0);
         }
         
+        
         /* Sleeping in here too */
+        #ifndef WIN32
         if(__counter >= (3 * syscheck.sleep_after))
+        #else
+        if(__counter >= (2 * syscheck.sleep_after))
+        #endif    
         {
             sleep(syscheck.tsleep);
             __counter = 0;


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.