X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fdbd-config.c;h=949ef5dd5f90f5e34ea2cfaef82cdc1fe0a9a680;hb=280230a44cb9f9872652b6bb80de45a27af411f4;hp=17a824918d23ff4f2cbf52b581c2fdf1cfdf58c1;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/config/dbd-config.c b/src/config/dbd-config.c index 17a8249..949ef5d 100644 --- a/src/config/dbd-config.c +++ b/src/config/dbd-config.c @@ -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)