syslog-ng/syslog-ng-3.5.4.1-libjson-c-0.12.patch
Silvan Calarco c1e95177ce update to 3.5.4.1
rebuilt with libjson-c-devel 0.12 [release 3.5.4.1-1mamba;Sat Jun 28 2014]
2024-01-05 18:17:56 +01:00

12 lines
519 B
Diff

--- syslog-ng-3.5.4.1/modules/json/jsonparser.c.orig 2014-06-28 17:49:52.233198882 +0000
+++ syslog-ng-3.5.4.1/modules/json/jsonparser.c 2014-06-28 17:39:58.023360106 +0000
@@ -187,7 +187,7 @@
if (tok->err != json_tokener_success)
{
msg_error ("Unparsable JSON stream encountered",
- evt_tag_str ("error", json_tokener_errors[tok->err]), NULL);
+ evt_tag_str ("error", json_tokener_error_desc(tok->err)), NULL);
json_tokener_free (tok);
return FALSE;
}