Imported Upstream version 2.7
[ossec-hids.git] / src / config / dbd-config.c
index 17a8249..949ef5d 100644 (file)
@@ -1,11 +1,12 @@
-/* @(#) $Id: dbd-config.c,v 1.7 2009/06/24 17:06:25 dcid Exp $ */
+/* @(#) $Id: ./src/config/dbd-config.c, 2011/09/08 dcid Exp $
+ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -32,7 +33,7 @@ int Read_DB(XML_NODE node, void *config1, void *config2)
     char *xml_dbsock = "socket";
     char *xml_dbtype = "type";
 
-    
+
     db_config = (DBConfig *)config2;
     if(!db_config)
     {
@@ -40,7 +41,7 @@ int Read_DB(XML_NODE node, void *config1, void *config2)
     }
 
 
-    /* Reading the xml */ 
+    /* Reading the xml */
     while(node[i])
     {
         if(!node[i]->element)