aboutsummaryrefslogtreecommitdiffstats
path: root/config/syslog-ng/syslog-ng.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-09 14:49:16 -0400
committerjim-p <jimp@pfsense.org>2014-05-09 14:49:16 -0400
commit0909bcf44cc4535c9dbb19f226fdb01c442175ff (patch)
treea3969d42ddbaddc795b8f831411dbc6b537d491f /config/syslog-ng/syslog-ng.inc
parent173c5007b5f863fb642bc86bf906c9eb80ac32e7 (diff)
downloadpfsense-packages-0909bcf44cc4535c9dbb19f226fdb01c442175ff.tar.gz
pfsense-packages-0909bcf44cc4535c9dbb19f226fdb01c442175ff.tar.bz2
pfsense-packages-0909bcf44cc4535c9dbb19f226fdb01c442175ff.zip
Fix call-time pass-by-reference in syslog-ng, bump
Diffstat (limited to 'config/syslog-ng/syslog-ng.inc')
-rw-r--r--config/syslog-ng/syslog-ng.inc4
1 files changed, 2 insertions, 2 deletions
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'];