File: src___mod_syslog.c.patch

package info (click to toggle)
ccze 0.2.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,076 kB
  • sloc: ansic: 4,649; sh: 2,607; makefile: 249
file content (15 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Allow for extra space in syslog parsing
Bug-Debian: https://bugs.debian.org/330974
Author: Stephen Gran <sgran@debian.org>

--- ccze-0.2.1.orig/src/mod_syslog.c
+++ ccze-0.2.1/src/mod_syslog.c
@@ -104,7 +104,7 @@
   int errptr;
 
   reg_syslog = pcre_compile ("^(\\S*\\s{1,2}\\d{1,2}\\s\\d\\d:\\d\\d:\\d\\d)"
-			     "\\s(\\S+)\\s((\\S+:?)\\s(.*))$", 0, &error,
+			     "\\s(\\S+)\\s+((\\S+:?)\\s(.*))$", 0, &error,
 			     &errptr, NULL);
   hints_syslog = pcre_study (reg_syslog, 0, &error);
 }