Imported Upstream version 2.7
[ossec-hids.git] / src / monitord / monitor_agents.c
index 133d31f..fbaac58 100755 (executable)
@@ -1,11 +1,12 @@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/monitord/monitor_agents.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 2) as published by the FSF - Free Software 
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -39,7 +40,7 @@ void monitor_agents()
     {
         int available = 0;
         char **tmp_av;
-        
+
         tmp_av = av_agents;
         while(tmp_av && *tmp_av)
         {
@@ -55,7 +56,7 @@ void monitor_agents()
         if(available == 0)
         {
             char str[OS_SIZE_1024 +1];
-            
+
             /* Sending disconnected message */
             snprintf(str, OS_SIZE_1024 -1, OS_AG_DISCON, *cr_agents);
             if(SendMSG(mond.a_queue, str, ARGV0,
@@ -64,7 +65,7 @@ void monitor_agents()
                 merror(QUEUE_SEND, ARGV0);
             }
         }
-        
+
         cr_agents++;
     }