Imported Upstream version 2.7
[ossec-hids.git] / src / client-agent / intcheck_op.c
index deab8ba..a7025c6 100755 (executable)
@@ -1,11 +1,12 @@
-/* @(#) $Id: intcheck_op.c,v 1.4 2009/06/24 17:06:24 dcid Exp $ */
+/* @(#) $Id: ./src/client-agent/intcheck_op.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
  */
 
@@ -42,7 +43,7 @@ int intcheck_file(char *file_name, char *dir)
     if(lstat(file_name, &statbuf) < 0)
     #endif
     {
-        snprintf(newsum, 911,"%c:%s:-1 %s%s", SYSCHECK_MQ, SYSCHECK, 
+        snprintf(newsum, 911,"%c:%s:-1 %s%s", SYSCHECK_MQ, SYSCHECK,
                                               dir, file_name);
         send_msg(0, newsum);
 
@@ -70,7 +71,7 @@ int intcheck_file(char *file_name, char *dir)
         }
     }
 
-    
+
     snprintf(newsum,911,"%c:%s:%d:%d:%d:%d:%s:%s %s%s",
             SYSCHECK_MQ, SYSCHECK,
             (int)statbuf.st_size,