1. Jeremy Rossi
  2. ossec-hids

Commits

dcid  committed fb5b5f8 Draft

Fixing incorrect quote usage.

  • Participants
  • Parent commits e5194e0
  • Branches default

Comments (0)

Files changed (1)

File src/logcollector/read_ossecalert.c

View file
         }
         if(strlen(tmp_msg) > 1596)
         {
-            tmp_msg[1594] = ".";
-            tmp_msg[1595] = ".";
-            tmp_msg[1596] = ".";
-            tmp_msg[1597] = "\0";
+            tmp_msg[1594] = '.';
+            tmp_msg[1595] = '.';
+            tmp_msg[1596] = '.';
+            tmp_msg[1597] = '\0';
         } 
         snprintf(syslog_msg, OS_SIZE_2048,
           	"ossec: Alert Level: %d; Rule: %d - %s; "