From 0909bcf44cc4535c9dbb19f226fdb01c442175ff Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:49:16 -0400 Subject: Fix call-time pass-by-reference in syslog-ng, bump --- config/syslog-ng/syslog-ng.inc | 4 ++-- config/syslog-ng/syslog-ng.xml | 4 ++-- config/syslog-ng/syslog-ng_advanced.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'config/syslog-ng') diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc index f821e75d..395a97d6 100644 --- a/config/syslog-ng/syslog-ng.inc +++ b/config/syslog-ng/syslog-ng.inc @@ -61,7 +61,7 @@ function syslogng_deinstall_command() { filter_configure(); } -function syslogng_validate_general($post, $input_errors) { +function syslogng_validate_general($post, &$input_errors) { global $config; $objects = $config['installedpackages']['syslogngadvanced']['config']; @@ -100,7 +100,7 @@ function syslogng_validate_general($post, $input_errors) { $input_errors[] = "Syslog-ng syntax test failed:\n" . $errors; } -function syslogng_validate_advanced($post, $input_errors) { +function syslogng_validate_advanced($post, &$input_errors) { global $config; $objects = $config['installedpackages']['syslogngadvanced']['config']; diff --git a/config/syslog-ng/syslog-ng.xml b/config/syslog-ng/syslog-ng.xml index 37df86ec..7d58a2ef 100644 --- a/config/syslog-ng/syslog-ng.xml +++ b/config/syslog-ng/syslog-ng.xml @@ -42,7 +42,7 @@ Describe your package requirements here Currently there are no FAQ items provided. Syslog-ng - 3.3.4_1 + 3.5.4.1_1 pkg.v.1.0.1 Services: Syslog-ng /usr/local/pkg/syslog-ng.inc @@ -177,7 +177,7 @@ - syslogng_validate_general($_POST, &$input_errors); + syslogng_validate_general($_POST, $input_errors); syslogng_resync(); diff --git a/config/syslog-ng/syslog-ng_advanced.xml b/config/syslog-ng/syslog-ng_advanced.xml index 2ddcf1e0..b1290544 100644 --- a/config/syslog-ng/syslog-ng_advanced.xml +++ b/config/syslog-ng/syslog-ng_advanced.xml @@ -128,7 +128,7 @@ syslogng_resync(); - syslogng_validate_advanced($_POST, &$input_errors); + syslogng_validate_advanced($_POST, $input_errors); syslogng_resync(); -- cgit v1.2.3