Imported Upstream version 2.7
[ossec-hids.git] / src / client-agent / config.c
index 312eb70..7d6d151 100755 (executable)
@@ -1,4 +1,5 @@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/client-agent/config.c, 2011/09/08 dcid Exp $
+ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
@@ -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;