Merge commit 'v2.5.1'
[ossec-hids.git] / src / shared / read-alert.c
index ff18f85..b9553b6 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: read-alert.c,v 1.10 2009/06/24 18:53:08 dcid Exp $ */
+/* @(#) $Id$ */
 
 /* 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
  *
  * License details at the LICENSE file included with OSSEC or
@@ -266,7 +266,7 @@ alert_data *GetAlertData(int flag, FILE *fp)
                 os_strdup(p, user);
             }
             /* It is a log message */
-            else if(log_size < 10)
+            else if(log_size < 20)
             {
                 os_clearnl(str,p);