[syslog-ng] [PATCH (3.4)] jsonparser: Clone the marker() setting when cloning the parser

Gergely Nagy algernon at balabit.hu
Fri Jul 6 11:58:20 CEST 2012


Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 modules/jsonparser/jsonparser.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/jsonparser/jsonparser.c b/modules/jsonparser/jsonparser.c
index 7331ad9..891b9f0 100644
--- a/modules/jsonparser/jsonparser.c
+++ b/modules/jsonparser/jsonparser.c
@@ -201,6 +201,7 @@ log_json_parser_clone (LogPipe *s)
 
   cloned = (LogJSONParser *) log_json_parser_new ();
   log_json_parser_set_prefix ((LogParser *)cloned, self->prefix);
+  log_json_parser_set_marker ((LogParser *)cloned, self->marker);
 
   return &cloned->super.super;
 }
-- 
1.7.10




More information about the syslog-ng mailing list