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

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



Module name:	ossec-hids
Changes by:	dcid	07/08/13 21:29:35

Modified files:
	maild.c

Log message:
Description: Working alpha of the database support. the basic stuff should be working now, but we still need to improve the tables and a few other things.
Reviewed by: dcid
Example config:
<database_output>
  <hostname>1.2.3.4</hostname>
  <username>user</username>
  <password>mypass</password>
  <database>test1</database>
</database_output>
Bug:

Index: maild.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/os_maild/maild.c,v
diff -u -r1.27 -r1.28
--- maild.c	20 Jul 2007 00:19:26 -0000	1.27
+++ maild.c	14 Aug 2007 00:29:35 -0000	1.28
@@ -199,8 +199,10 @@
 
 
     /* Init file queue */
+    i = 0;
+    i |= CRALERT_MAIL_SET;
     os_calloc(1, sizeof(file_queue), fileq);
-    Init_FileQueue(fileq, p);
+    Init_FileQueue(fileq, p, i);
 
 
     /* Creating the list */


OSSEC home | Main Index | Thread Index


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