Imported Upstream version 2.7
[ossec-hids.git] / src / client-agent / config.c
index 4025554..7d6d151 100755 (executable)
@@ -1,11 +1,12 @@
-/* @(#) $Id: config.c,v 1.15 2009/06/24 17:06:24 dcid Exp $ */
+/* @(#) $Id: ./src/client-agent/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
  */
 
@@ -25,7 +26,7 @@
 /* ClientConf v0.2, 2005/03/03
  * Read the config file (for the remote client)
  * v0.2: New OS_XML
- */ 
+ */
 int ClientConf(char *cfgfile)
 {
     int modules = 0;
@@ -34,6 +35,7 @@ int ClientConf(char *cfgfile)
     logr->lip = NULL;
     logr->rip_id = 0;
     logr->execdq = 0;
+    logr->profile = NULL;   /*cmoraes*/
 
     modules|= CCLIENT;